CVE-2019-3843 Privilege escalation in systemd
Local attackers can exploit DynamicUser services to create SUID binaries, gaining unauthorized access to resources owned by future recycled UIDs.
- 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-3843?
CVE-2019-3843 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 create a SUID/SGID binary that would be allowed to run as the transient service UID/GID even after the service is terminated. A local attacker may use this flaw to access resources that will be owned by a potentially different service in the future, when the UID/GID will be recycled.
Which versions are affected by CVE-2019-3843?
It affects 7 products.
Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Netapp Cn1610 Firmware, Netapp Hci Management Node, Netapp Snapprotect, Netapp Solidfire and 1 more.
How do I fix CVE-2019-3843?
Apply the vendor's patch.
Is CVE-2019-3843 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-3843 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-3843, GHSA-54p3-x8px-4jp3, UBUNTU-CVE-2019-3843.