CVE-2018-16888

NameCVE-2018-16888
DescriptionIt was discovered systemd does not correctly check the content of PIDFile files before using it to kill processes. When a service is run from an unprivileged user (e.g. User field set in the service file), a local attacker who is able to write to the PIDFile of the mentioned service may use this flaw to trick systemd into killing other services and/or privileged processes. Versions before v237 are vulnerable.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
systemd (PTS)jessie215-17+deb8u7vulnerable
jessie (security)215-17+deb8u13vulnerable
stretch (security), stretch232-25+deb9u11vulnerable
buster241-5fixed
bullseye, sid241-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
systemdsource(unstable)237-1low

Notes

[stretch] - systemd <ignored> (Minor issue, too intrusive to backport)
[jessie] - systemd <no-dsa> (low priority because this is inherently a bug in the PID file logic, too intrusive to backport)
https://bugzilla.redhat.com/show_bug.cgi?id=1662867
Upstream issue: https://github.com/systemd/systemd/issues/6632
Upstream patches: https://github.com/systemd/systemd/pull/7816

Search for package or bug name: Reporting problems