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.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"last_affected": "16.04"
},
{
"last_affected": "18.04"
},
{
"last_affected": "18.10"
}
],
"source": "CPE_FIELD",
"vendor_product": "canonical:ubuntu_linux"
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"last_affected": "42.3"
}
],
"source": "CPE_FIELD",
"vendor_product": "opensuse:leap"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "237"
}
],
"source": "CPE_FIELD",
"cpe": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "237"
}
],
"source": "CPE_FIELD",
"cpe": "cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*"
}