Execution with Unnecessary Privileges Affecting systemd-resolved package, versions <0:219-67.el7


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-SYSTEMDRESOLVED-2141532
  • published26 Jul 2021
  • disclosed17 Aug 2017

Introduced: 17 Aug 2017

CVE-2018-16888  (opens in a new tab)
CWE-250  (opens in a new tab)

How to fix?

Upgrade Centos:7 systemd-resolved to version 0:219-67.el7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-resolved package and not the systemd-resolved package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1