Name | CVE-2018-6954 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 890779 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
systemd (PTS) | jessie, jessie (lts) | 215-17+deb8u15 | vulnerable |
| stretch (security) | 232-25+deb9u14 | vulnerable |
| stretch (lts), stretch | 232-25+deb9u17 | vulnerable |
| buster, buster (lts) | 241-7~deb10u11 | fixed |
| buster (security) | 241-7~deb10u10 | fixed |
| bullseye | 247.3-7+deb11u5 | fixed |
| bullseye (security) | 247.3-7+deb11u6 | fixed |
| bookworm | 252.31-1~deb12u1 | fixed |
| sid, trixie | 257~rc2-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
systemd | source | wheezy | (not affected) | | | |
systemd | source | (unstable) | 238-1 | low | | 890779 |
Notes
[stretch] - systemd <ignored> (Minor issue, too intrusive to backport)
[jessie] - systemd <postponed> (Minor issue, revisit if/when fixed upstream)
[wheezy] - systemd <not-affected> (/etc/tmpfiles.d not supported in Wheezy)
https://github.com/systemd/systemd/issues/7986
https://github.com/systemd/systemd/pull/8822
https://www.openwall.com/lists/oss-security/2018/12/22/1