Vulnerability Description
systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local users to obtain ownership of arbitrary files via vectors involving creation of a directory and a file under that directory, and later replacing that directory with a symlink. This occurs even if the fs.protected_symlinks sysctl is turned on.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Systemd Project | Systemd | <= 237 |
| Canonical | Ubuntu Linux | 16.04 |
| Opensuse | Leap | 42.3 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.htmlThird Party Advisory
- https://github.com/systemd/systemd/issues/7986ExploitIssue TrackingPatch
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e3
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8
- https://usn.ubuntu.com/3816-1/Third Party Advisory
- https://usn.ubuntu.com/3816-2/Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.htmlThird Party Advisory
- https://github.com/systemd/systemd/issues/7986ExploitIssue TrackingPatch
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e3
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8
- https://usn.ubuntu.com/3816-1/Third Party Advisory
- https://usn.ubuntu.com/3816-2/Third Party Advisory
FAQ
What is CVE-2018-6954?
CVE-2018-6954 is a vulnerability with a CVSS score of 7.8 (HIGH). systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local users to obtain ownership of arbitrary files via vectors involving creation of a...
How severe is CVE-2018-6954?
CVE-2018-6954 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-6954?
Check the references section above for vendor advisories and patch information. Affected products include: Systemd Project Systemd, Canonical Ubuntu Linux, Opensuse Leap.