Incorrect Privilege Assignment 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-2039408
  • 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 create a SUID/SGID binary that would be allowed to run as the transient service UID/GID even after the service is terminated. A local attacker may use this flaw to access resources that will be owned by a potentially different service in the future, when the UID/GID will be recycled.