CVEvulnerability
CVE-2018-6954
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-02-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-59
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.
Affected configurations
• systemd project systemd (<= 237)
• canonical ubuntu linux 16.04
• canonical ubuntu linux 18.04
• canonical ubuntu linux 18.10
• opensuse leap 42.3
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00062.html Third Party Advisory
- https://github.com/systemd/systemd/issues/7986 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E lists.apache.org
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E lists.apache.org
- 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.html Third Party Advisory
- https://github.com/systemd/systemd/issues/7986 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E lists.apache.org
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E lists.apache.org
- https://usn.ubuntu.com/3816-1/ Third Party Advisory
- https://usn.ubuntu.com/3816-2/ Third Party Advisory