Vulnerability database / CVE-2018-6954
CVE-2018-6954
HIGH 7.8 CVSS 3.1 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 13 Feb 2018
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-59 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
CVSS 3.1
HIGH 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.2
AV:L/AC:L/Au:N/C:C/I:C/A:C
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
systemd_project
systemdcpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*
<= 237
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
= 18.10
NVD
opensuse
leapcpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
= 42.3
References
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 13 Feb 2018)