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.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Systemd | Systemd_project | * | 237 (including) |
Systemd | Ubuntu | artful | * |
Systemd | Ubuntu | bionic | * |
Systemd | Ubuntu | cosmic | * |
Systemd | Ubuntu | devel | * |
Systemd | Ubuntu | xenial | * |