CVE-2023-26604 Affecting systemd-pam package, versions <0:239-74.el8_8.2


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.05% (16th percentile)
Expand this section
NVD
7.8 high
Expand this section
Red Hat
7.1 high

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-3342229
  • published 6 Mar 2023
  • disclosed 3 Mar 2023

How to fix?

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

systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible sudoers files in which the "systemctl status" command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because less executes as root when the terminal size is too small to show the complete systemctl output.