CVE-2019-3844 Privilege escalation in systemd

Medium 4.5 Published Updated

Local attackers can exploit SUID binaries in DynamicUser services to gain privileges and access resources owned by other services via GID recycling.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-3844?

CVE-2019-3844 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 26 Apr 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

It was discovered that a systemd service that uses DynamicUser property can get new privileges through the execution of SUID binaries, which would allow to create binaries owned by the service transient group with the setgid bit set. A local attacker may use this flaw to access resources that will be owned by a potentially different service in the future, when the GID will be recycled.

Weakness: CWE-268

Which versions are affected by CVE-2019-3844?

It affects 6 products.

Products include Canonical Ubuntu Linux, Netapp Cn1610 Firmware, Netapp Hci Management Node, Netapp Snapprotect, Netapp Solidfire, Systemd Project Systemd.

How do I fix CVE-2019-3844?

Apply the vendor's patch.

Is CVE-2019-3844 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-3844 exists.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-3844, GHSA-h647-28xp-2hc8, UBUNTU-CVE-2019-3844.

Is CVE-2019-3844 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free