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


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.04% (6th 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 ID SNYK-RHEL7-SYSTEMDDEVEL-4923861
  • published 26 Jul 2021
  • disclosed 17 Aug 2017

How to fix?

Upgrade RHEL:7 systemd-devel to version 0:219-67.el7 or higher.
This issue was patched in RHSA-2019:2091.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-devel package and not the systemd-devel package as distributed by RHEL. See How to fix? for RHEL: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
Expand this section

NVD

4.7 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High