CVEfocus › CVE database › CVE-2018-16888

CVE-2018-16888

CVSS 4.4 MediumEPSS 0.3% (higher than 22% of CVEs)Published 2019-01-14Updated 2024-08-05Assigner: redhat

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.

CWE-250

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04systemdFixed229-4ubuntu21.27UBUNTU-CVE-2018-16888
Debian 14systemdFixed237-1DEBIAN-CVE-2018-16888
Debian 13systemdFixed237-1DEBIAN-CVE-2018-16888
Debian 12systemdFixed237-1DEBIAN-CVE-2018-16888
Red Hat Enterprise Linux 8systemdNot affected
Red Hat Enterprise Linux 8systemd-containerNot affected
Red Hat Enterprise Linux 8systemd-develNot affected
Red Hat Enterprise Linux 8systemd-journal-remoteNot affected
Red Hat Enterprise Linux 8systemd-libsNot affected
Red Hat Enterprise Linux 8systemd-pamNot affected
Red Hat Enterprise Linux 8systemd-testsNot affected
Red Hat Enterprise Linux 8systemd-udevNot affected
Red Hat Enterprise Linux 7libgudev1Fixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7libgudev1-develFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemdFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemd-develFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemd-journal-gatewayFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemd-libsFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemd-networkdFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemd-pythonFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemd-resolvedFixed0:219-67.el7RHSA-2019:2091
Red Hat Enterprise Linux 7systemd-sysvFixed0:219-67.el7RHSA-2019:2091

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.