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


Severity

Recommended
0.0
medium
0
10

Based on CentOS 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 Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-SYSTEMDPAM-2039408
  • published26 Jul 2021
  • disclosed25 Apr 2019

Introduced: 25 Apr 2019

CVE-2019-3843  (opens in a new tab)
CWE-266  (opens in a new tab)

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.

CVSS Scores

version 3.1