CVE-2018-6954
Last modified
CVE-2018-6954 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Systemd Project | Systemd | <= 237 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Opensuse | Leap | 42.3 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.htmlThird Party Advisory
- https://github.com/systemd/systemd/issues/7986Exploit, Issue Tracking, Patch, Third Party Advisory
- 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/7986Exploit, Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3816-1/Third Party Advisory
- https://usn.ubuntu.com/3816-2/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-6954?
How severe is CVE-2018-6954?
How do I fix CVE-2018-6954?
Are you affected by CVE-2018-6954?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
