CVE-2024-10041

Pam: libpam: libpam vulnerable to read hashed password

State
Published
Severity
4.7 Medium
Published
Oct 23, 2024
Updated
Jun 29, 2026
Reserved
Oct 16, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:Nredhat

Weaknesses

  • CWE-922 Insecure Storage of Sensitive Information

Affected Products

ProductVersions
pam
  • 1.6.0 to before 1.6.0Affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.3.1-36.el8_10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.5.1-21.el9_5 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.5.1-21.el9_5 and laterNot affected
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat
  • 0:1.5.1-21.el9_4 and laterNot affected
Red Hat Enterprise Linux 10Red Hat
    Red Hat Enterprise Linux 7Red Hat

      References

      Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.