Privilege Chaining Affecting systemd-pam package, versions <0:239-29.el8


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.04% (6th percentile)
Expand this section
NVD
7.8 high
Expand this section
Red Hat
4.5 medium
Expand this section
SUSE
4.5 medium

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-CENTOS8-SYSTEMDPAM-2039931
  • published 26 Jul 2021
  • disclosed 25 Apr 2019

How to fix?

Upgrade Centos:8 systemd-pam to version 0:239-29.el8 or higher.

NVD Description

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

It was discovered that a systemd service that uses DynamicUser property can get new privileges through the execution of SUID binaries, which would allow to create binaries owned by the service transient group with the setgid bit set. A local attacker may use this flaw to access resources that will be owned by a potentially different service in the future, when the GID will be recycled.