Skip to content
OpenAdvisories
Medium · 4.4 CVE-2018-16888 EUVD-2018-8676GHSA-34mm-3fgq-qjxq

It was discovered systemd does not correctly check the content of PIDFile files before using it to kill processes. When a service is run fr…

Published Jan 14, 2019 · Updated Aug 5, 2024 · Assigned by redhat

Description

It 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.

Affected products

VendorProductAffectedFixed
The systemd Project systemd v237 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 systemd 237-1 —
Debian 13 systemd 237-1 —
Debian 12 systemd 237-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS systemd 237-3ubuntu10.38 USN-4269-1
Ubuntu 16.04 LTS systemd 229-4ubuntu21.27 USN-4269-1
ReleasePackageFixed inAdvisory
RHEL 7 systemd +9 219-67.el7 RHSA-2019:2091

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 systemd +9 219-67.0.1.el7 ELSA-2019-2091

Advisories 3

References