CVE-2018-6954

Priority
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.
Notes
 mdeslaur> original fix was incomplete, see second pull
 chrisccoulson> Fix reverted in xenial because it breaks containers running
  on pre-2.6.39 kernels
Assigned-to
chrisccoulson
Package
Upstream:needs-triage
Ubuntu 12.04 ESM (Precise Pangolin):DNE
Ubuntu 14.04 LTS (Trusty Tahr):not-affected (binary not built)
Ubuntu 16.04 LTS (Xenial Xerus):needed
Ubuntu 18.04 LTS (Bionic Beaver):released (237-3ubuntu10.9)
Ubuntu 18.10 (Cosmic Cuttlefish):released (239-7ubuntu10.4)
Ubuntu 19.04 (Disco Dingo):released (239-7ubuntu10.4)
Patches:
Upstream:https://github.com/systemd/systemd/pull/8358
Upstream:https://github.com/systemd/systemd/pull/8822
Upstream:https://github.com/systemd/systemd/commit/936f6bdb803c432578e2cdcc5f93f3bfff93aff0
More Information

Updated: 2018-12-03 14:15:55 UTC (commit 267f7fa352b3e57ba6463df4187a65999d7bb1e1)