Vulnerability · Published Oct 23, 2024 · Assigned by redhat

CVE-2024-10041Pam: libpam: libpam vulnerable to read hashed password

Medium 4.7

In plain English

A medium-severity security flaw in pam. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)0.3%top 81.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in PAM. The secret information is stored in memory, where the attacker can trigger the victim program to execute by sending characters to its standard input (stdin). As this occurs, the attacker can train the branch predictor to execute an ROP chain speculatively. This flaw could result in leaked passwords, such as those found in /etc/shadow while performing authentications.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8pam1.3.1-36.el8_10ALSA-2024:10379
AlmaLinux:9pam1.5.1-21.el9_5ALSA-2024:11250
AlmaLinux:8pam-devel1.3.1-36.el8_10ALSA-2024:10379
AlmaLinux:9pam-devel1.5.1-21.el9_5ALSA-2024:11250
AlmaLinux:9pam-docs1.5.1-21.el9_5ALSA-2024:11250
Debian:12pamno fix listedDEBIAN-CVE-2024-10041
Debian:13pam1.7.0-2DEBIAN-CVE-2024-10041
Debian:14pam1.7.0-2DEBIAN-CVE-2024-10041
Rocky Linux:8pam0:1.3.1-36.el8_10RLSA-2024:10379
Ubuntu:22.04:LTSpamno fix listedUBUNTU-CVE-2024-10041
Ubuntu:24.04:LTSpamno fix listedUBUNTU-CVE-2024-10041

Affected products (as reported)

VendorProductVersions
pam 1.6.0 – before 1.6.0
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 7 see references

Weakness: CWE-922 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

References