Incorrect Authorization Affecting systemd-pam package, versions <0:239-45.el8


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.22% (60th percentile)
Expand this section
NVD
7 high
Expand this section
SUSE
4.5 medium
Expand this section
Red Hat
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-2103030
  • published 26 Jul 2021
  • disclosed 8 Apr 2019

How to fix?

Upgrade Centos:8 systemd-pam to version 0:239-45.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.

In systemd before v242-rc4, it was discovered that pam_systemd does not properly sanitize the environment before using the XDG_SEAT variable. It is possible for an attacker, in some particular configurations, to set a XDG_SEAT environment variable which allows for commands to be checked against polkit policies using the "allow_active" element rather than "allow_any".