Vulnerabilities · 2018 · Systemd Project
CVE-2018-6954
Systemd Project Systemd vulnerability
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.
Affected products
Systemd, Ubuntu Linux, Leap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Systemd Project Systemd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/systemd/systemd/issues/7986 · Exploit
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html · Third Party Advisory
- usn.ubuntu.com/3816-1/ · Third Party Advisory
- usn.ubuntu.com/3816-2/ · Third Party Advisory
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%
- nvd.nist.gov/vuln/detail/CVE-2018-6954
- cve.org/CVERecord?id=CVE-2018-6954
More vulnerabilities in Systemd Project products
CVE-2025-4598CVE-2023-31439CVE-2023-31438CVE-2023-31437CVE-2023-26604CVE-2023-7008CVE-2022-45873CVE-2022-4415All 48
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.