CVE-2024-10041 Pam: libpam: libpam vulnerable to read hashed password
Attackers can exploit speculative execution flaws in PAM to leak hashed passwords from memory during authentication processes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-10041?
CVE-2024-10041 is a medium-severity vulnerability in Red Hat Enterprise Linux 10, published on 23 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Weakness: CWE-922
Which versions are affected by CVE-2024-10041?
It affects 1 product.
Linux distribution packages (40)
pam AlmaLinux:9 | All versions | 1.5.1-21.el9_5 |
pam-devel AlmaLinux:9 | All versions | 1.5.1-21.el9_5 |
pam-docs AlmaLinux:9 | All versions | 1.5.1-21.el9_5 |
pam-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:1.5.1-21.el9_5 |
pam-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:1.5.1-21.el9_5 |
pam-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:1.5.1-21.el9_5 |
pam-docs Red Hat:enterprise_linux:9::appstream | All versions | 0:1.5.1-21.el9_5 |
pam Red Hat:enterprise_linux:9::baseos | All versions | 0:1.5.1-21.el9_5 |
pam-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:1.5.1-21.el9_5 |
pam-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:1.5.1-21.el9_5 |
pam-debuginfo Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.5.1-21.el9_4 |
pam-debugsource Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.5.1-21.el9_4 |
pam-devel Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.5.1-21.el9_4 |
pam-docs Red Hat:rhel_eus:9.4::appstream | All versions | 0:1.5.1-21.el9_4 |
pam Red Hat:rhel_eus:9.4::baseos | All versions | 0:1.5.1-21.el9_4 |
pam-debuginfo Red Hat:rhel_eus:9.4::baseos | All versions | 0:1.5.1-21.el9_4 |
pam-debugsource Red Hat:rhel_eus:9.4::baseos | All versions | 0:1.5.1-21.el9_4 |
apparmor SUSE:Enterprise Storage 7.1 | All versions | 2.13.6-150300.3.24.1 |
libapparmor SUSE:Enterprise Storage 7.1 | All versions | 2.13.6-150300.3.24.1 |
pam SUSE:Enterprise Storage 7.1 | All versions | 1.3.0-150000.6.86.1 |
apparmor SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.13.6-150300.3.24.1 |
libapparmor SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.13.6-150300.3.24.1 |
pam SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 1.3.0-150000.6.86.1 |
apparmor SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 3.0.4-150400.5.18.1 |
libapparmor SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 3.0.4-150400.5.18.1 |
pam SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 1.3.0-150000.6.86.1 |
apparmor SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 3.0.4-150400.5.18.1 |
libapparmor SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 3.0.4-150400.5.18.1 |
pam SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 1.3.0-150000.6.86.1 |
apparmor SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 3.0.4-150500.11.18.1 |
libapparmor SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 3.0.4-150500.11.18.1 |
pam SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 1.3.0-150000.6.86.1 |
apparmor SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 3.0.4-150500.11.18.1 |
libapparmor SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 3.0.4-150500.11.18.1 |
pam SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 1.3.0-150000.6.86.1 |
apparmor SUSE:Linux Enterprise Micro 5.1 | All versions | 2.13.6-150300.3.24.1 |
libapparmor SUSE:Linux Enterprise Micro 5.1 | All versions | 2.13.6-150300.3.24.1 |
pam SUSE:Linux Enterprise Micro 5.1 | All versions | 1.3.0-150000.6.76.1 |
pam SUSE:Linux Enterprise Micro 5.1 | All versions | 1.3.0-150000.6.86.1 |
apparmor SUSE:Linux Enterprise Micro 5.2 | All versions | 2.13.6-150300.3.24.1 |
Products include Linux-Pam Linux-Pam.
How do I fix CVE-2024-10041?
Apply the vendor's patch.
Is CVE-2024-10041 being exploited?
There is no known exploitation of CVE-2024-10041 in the wild and no public exploit code.
Other vulnerabilities in Red Hat Enterprise Linux 10
Sources
Also known as ALSA-2024:11250, AZL-51693, AZL-51729, BELL-CVE-2024-10041, CLEANSTART-2026-EL80803, DEBIAN-CVE-2024-10041 and 31 more.