Skip to content

CVE-2018-6954 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...

HighCVSS 7.8 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/systemd(Debian 12) < 238-1 238-1 Fixed
debian/systemd(Debian 13) < 238-1 238-1 Fixed
debian/systemd(Debian 14) < 238-1 238-1 Fixed
systemd project systemd <= 237 after 237 Fixed
ubuntu/systemd(Ubuntu 16.04) < 229-4ubuntu21.15; = 225-1ubuntu9; = 227-2ubuntu1; = 227-2ubuntu2 +39 more 229-4ubuntu21.15 Fixed
ubuntu/systemd(Ubuntu 18.04) < 237-3ubuntu10.9; = 234-2ubuntu12; = 235-2ubuntu3; = 235-3ubuntu2 +11 more 237-3ubuntu10.9 Fixed
Canonical Ubuntu Linux = 16.04; = 18.04; = 18.10 No fix listed Versions listed
openSUSE leap = 42.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/systemd(Debian:12) < 238-1 238-1
debian/systemd(Debian:13) < 238-1 238-1
debian/systemd(Debian:14) < 238-1 238-1
systemd project systemd <= 237 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 18.10 No fix listed
openSUSE leap = 42.3 No fix listed
ubuntu/systemd(Ubuntu:16.04) < 229-4ubuntu21.15 229-4ubuntu21.15
ubuntu/systemd(Ubuntu:16.04) = 225-1ubuntu9 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 227-2ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 227-2ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-1ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-2ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-2ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-3ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-4ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-4ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-5ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-5ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-5ubuntu3 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 228-6ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-1ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-1ubuntu4 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-2ubuntu1 No fix listed
Show 41 more
ProductAffected versionsFixed in
ubuntu/systemd(Ubuntu:16.04) = 229-3ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-3ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu4 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu5 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu6 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu7 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu8 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu10 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu11 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu12 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu13 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu16 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu17 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu19 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu20 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.1 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.2 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.3 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.4 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.5 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.6 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.8 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.9 No fix listed
ubuntu/systemd(Ubuntu:16.04) = 229-4ubuntu21.10 No fix listed
ubuntu/systemd(Ubuntu:18.04) < 237-3ubuntu10.9 237-3ubuntu10.9
ubuntu/systemd(Ubuntu:18.04) = 234-2ubuntu12 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 235-2ubuntu3 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 235-3ubuntu2 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 235-3ubuntu3 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu3 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu4 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu6 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu7 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu8 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu10 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu10.2 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu10.3 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu10.4 No fix listed
ubuntu/systemd(Ubuntu:18.04) = 237-3ubuntu10.6 No fix listed

References