cve.bz

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

4.7 mediumEPSS 0.3%Fix available

Medium (4.7) in linux-pam linux-pam. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-922 Insecure Storage of Sensitive Information
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:1.3.1-36.el8_10
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:1.5.1-21.el9_5
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support: fixed in 0:1.5.1-21.el9_4
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-10041 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-10041?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-10041?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-10041 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
pamfrom 1.6.0 before 1.6.0

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:1.3.1-36.el8_10
Red Hat Enterprise Linux 90:1.5.1-21.el9_5
Red Hat Enterprise Linux 9.4 Extended Update Support0:1.5.1-21.el9_4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12pamno fix listedDEBIAN-CVE-2024-10041
Debian13, 14pam1.7.0-2DEBIAN-CVE-2024-10041
Ubuntu22.04:LTS, 24.04:LTS, Pro:14.04:LTS and 3 morepamno fix listedUBUNTU-CVE-2024-10041
Red Hatenterprise_linux:8::baseospam, pam-devel, pam-debuginfo and 1 more0:1.3.1-36.el8_10RHSA-2024:10379
Red Hatenterprise_linux:9::appstreampam-docs, pam-devel, pam-debuginfo and 1 more0:1.5.1-21.el9_5RHSA-2024:11250
Red Hatenterprise_linux:9::baseospam, pam-debuginfo, pam-debugsource0:1.5.1-21.el9_5RHSA-2024:11250
Red Hatrhel_eus:9.4::appstreampam-docs, pam-devel, pam-debuginfo and 1 more0:1.5.1-21.el9_4RHSA-2024:9941
Red Hatrhel_eus:9.4::baseospam, pam-debuginfo, pam-debugsource0:1.5.1-21.el9_4RHSA-2024:9941
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morepam1.3.0-150000.6.86.1SUSE-SU-2025:02970-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 moreapparmor, libapparmor2.13.6-150300.3.24.1SUSE-SU-2025:1505-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreapparmor, libapparmor3.0.4-150400.5.18.1SUSE-SU-2025:1549-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 moreapparmor, libapparmor3.0.4-150500.11.18.1SUSE-SU-2025:1512-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 6 morepam1.3.0-150000.6.86.1SUSE-SU-2025:02970-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 morepam1.3.0-150000.6.76.1SUSE-SU-2025:1334-1
SUSELinux Enterprise Module for Basesystem 15 SP6apparmor, libapparmor3.1.7-150600.5.9.1SUSE-SU-2025:1511-1
SUSELinux Enterprise Module for Basesystem 15 SP7apparmor, libapparmor3.1.7-150600.5.9.1SUSE-SU-2025:01511-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Server Applications 15 SP6apparmor3.1.7-150600.5.9.1SUSE-SU-2025:1511-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Module for Server Applications 15 SP7apparmor3.1.7-150600.5.9.1SUSE-SU-2025:01511-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5apparmor2.8.2-56.26.1SUSE-SU-2025:1517-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0pam, pam-full-src1.7.1-160000.3.1SUSE-SU-2026:21192-1
4 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6apparmor, libapparmor3.1.7-150600.5.9.1SUSE-SU-2025:1511-1
openSUSELeap 15.6pam1.3.0-150000.6.76.1SUSE-SU-2025:1334-1
openSUSELeap 15.6pam1.3.0-150000.6.86.1SUSE-SU-2025:02970-1
openSUSELeap 16.0pam, pam-full-src1.7.1-160000.3.1openSUSE-SU-2026:20533-1
openSUSETumbleweedpam1.7.1-3.1openSUSE-SU-2025:15477-1
AlmaLinux8pam, pam-devel1.3.1-36.el8_10ALSA-2024:10379
AlmaLinux9pam, pam-docs, pam-devel1.5.1-21.el9_5ALSA-2024:11250
Rocky Linux8pam0:1.3.1-36.el8_10RLSA-2024:10379
Azure Linux2pam1.5.1-7AZL-51693
Azure Linux3pam1.5.3-4AZL-51729
Alpaquita23linux-pamno fix listedBELL-CVE-2024-10041
Alpaquitastreamlinux-pam1.6.0-r0BELL-CVE-2024-10041

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The PAM package as shipped in Red Hat Enterprise Linux 8 and 9 is not vulnerable to this vulnerability if SELinux is in Enforcing mode in the system.

Red Hat's mitigation

This vulnerability is mitigated if SELinux is in Enforcing mode.

To verify if SELinux is in Enforcing mode, the output of the `getenforce` command will return `Enforcing', see the example below:

~~~

$ getenforce

Enforcing

~~~

To more information about SELinux, specifically how to set it to Enforcing mode, see the links below.

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/using_selinux/index#changing-to-enforcing-mode_changing-selinux-states-and-modes

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/using_selinux/index#changing-to-enforcing-mode_changing-selinux-states-and-modes

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8pam-0:1.3.1-36.el8_10Fixed 2024-11-26RHSA-2024:10379
Red Hat Enterprise Linux 9pam-0:1.5.1-21.el9_5Fixed 2024-12-17RHSA-2024:11250
Red Hat Enterprise Linux 9.4 Extended Update Supportpam-0:1.5.1-21.el9_4Fixed 2024-11-19RHSA-2024:9941
Red Hat Enterprise Linux 10pamNot affected
Red Hat Enterprise Linux 7pamOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-10041.

References

Check your stackJSON