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.
Published: 2018-02-13
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2018-18698 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.
Ubuntu USN Ubuntu USN USN-3816-1 systemd vulnerabilities
Ubuntu USN Ubuntu USN USN-3816-2 systemd vulnerability
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00127}

epss

{'score': 0.00054}


Mon, 09 Jun 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Canonical Ubuntu Linux
Opensuse Leap
Systemd Project Systemd
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-06-09T15:54:51.003Z

Reserved: 2018-02-13T00:00:00.000Z

Link: CVE-2018-6954

cve-icon Vulnrichment

Updated: 2024-08-05T06:17:17.343Z

cve-icon NVD

Status : Modified

Published: 2018-02-13T20:29:00.547

Modified: 2025-06-09T16:15:29.307

Link: CVE-2018-6954

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-01-25T00:00:00Z

Links: CVE-2018-6954 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses