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 Metrics
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- local
- Complexity
- low
- Privileges
- low
- User Action
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
- Weaknesses
- CWE-59CWE-59
Metadata
- Primary Vendor
- SYSTEMD_PROJECT
- Published
- 2/13/2018
- Last Modified
- 6/9/2025
- Source
- NIST NVD
- Note: Verify all details with official vendor sources before applying patches.
Affected Products
systemd_project : systemdcanonical : ubuntu_linuxcanonical : ubuntu_linuxcanonical : ubuntu_linuxopensuse : leap
AI-Powered Remediation
Generate remediation guidance or a C-suite brief for this vulnerability.