4.4med

CVE-2018-16888

It was discovered systemd does not correctly check the content of PIDFile files before using it to kill processes.

Published 7 y ago · modified 4 mo ago · JSON

CVSS
4.4
v3.0 · CNA
CISA KEV
No
not known exploited
EPSS
0.3%
percentile 22%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.29% probability of exploitation in the next 30 days, higher than 22% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.04.4CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
NVD3.14.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA3.04.4CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
NVD2.01.9AV:L/AC:M/Au:N/C:N/I:N/A:P

Affected products

  • The systemd Project systemd

Classification

Weakness
  • CWE-250 Execution with Unnecessary Privileges
  • CWE-269 Improper Privilege Management

References

  • security.netapp.com /advisory/ntap-20190307-0007/ · x_refsource_CONFIRM, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=CVE-2018-16888 · x_refsource_CONFIRM, x_transferred
  • access.redhat.com /errata/RHSA-2019:2091 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • lists.apache.org /thread.html/5960a34a524848cd722fd7ab7e2227eac10107b0f90d9d1e9c3caa74%40%3Cuser.cassandra. · mailing-list, x_refsource_MLIST, x_transferred
  • usn.ubuntu.com /4269-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.