]> code.ossystems Code Review - openembedded-core.git/commit
systemd: fix CVE-2018-6954
authorGeorge McCollister <george.mccollister@gmail.com>
Mon, 25 Feb 2019 16:37:12 +0000 (10:37 -0600)
committerArmin Kuster <akuster808@gmail.com>
Sat, 23 Mar 2019 01:55:04 +0000 (18:55 -0700)
commit607350d98aa4c65b71fe1f10900e205fad81d1ec
treecd29b557a603d2a2fb63b812437de708a5c5ebb5
parent10fa35a75617e82650b12d3e353a554f05f036dd
systemd: fix CVE-2018-6954

Apply patches to fix CVE-2018-6954

NVD description from https://nvd.nist.gov/vuln/detail/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
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.

Patches from systemd_237-3ubuntu10.13.debian.

These patches shouldn't be required on newer OE releases since they use
systemd v239 or higher.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
meta/recipes-core/systemd/systemd/0001-tmpfiles-don-t-resolve-pathnames-when-traversing-rec.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0002-Make-tmpfiles-safe.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd_237.bb