{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-10041 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-10041 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-10041 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-10041/ (Markdown: https://insights.sbomify.com/CVE-2024-10041/index.md)","id":"CVE-2024-10041","markdown":"https://insights.sbomify.com/CVE-2024-10041/index.md","name":"CVE-2024-10041","record":{"aliases":["ALSA-2024:11250","AZL-51693","AZL-51729","BELL-CVE-2024-10041","CLEANSTART-2026-EL80803","DEBIAN-CVE-2024-10041","ECHO-b710-0586-640f","GHSA-7gm5-m2xc-vh2j","MGASA-2025-0149","MINI-93w6-42qq-c9mm","OESA-2025-1598","OESA-2025-1599","OESA-2025-1600","OESA-2025-1601","RHSA-2024:11250","RHSA-2024:9941","ROOT-OS-DEBIAN-11-CVE-2024-10041","ROOT-OS-DEBIAN-12-CVE-2024-10041","ROOT-OS-UBUNTU-2004-CVE-2024-10041","ROOT-OS-UBUNTU-2404-CVE-2024-10041","SUSE-SU-2025:01511-1","SUSE-SU-2025:02970-1","SUSE-SU-2025:02970-2","SUSE-SU-2025:02971-1","SUSE-SU-2025:1158-1","SUSE-SU-2025:1334-1","SUSE-SU-2025:1505-1","SUSE-SU-2025:1511-1","SUSE-SU-2025:1512-1","SUSE-SU-2025:1517-1","SUSE-SU-2025:1549-1","SUSE-SU-2025:20750-1","SUSE-SU-2026:21112-1","SUSE-SU-2026:21192-1","UBUNTU-CVE-2024-10041","openSUSE-SU-2025:15477-1","openSUSE-SU-2026:20533-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux PAM library","requires_auth":"low_privilege","summary":"Attackers can exploit speculative execution flaws in PAM to leak hashed passwords from memory during authentication processes.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"linux-pam","vendor":"linux-pam"}],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-922","name":"Insecure Storage of Sensitive Information"}],"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.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Module for Server Applications 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.1","SUSE:Linux Micro 6.2","SUSE:Manager Proxy 4.3","SUSE:Manager Proxy LTS 4.3","SUSE:Manager Server 4.3","SUSE:Manager Server LTS 4.3","openSUSE:Leap 15.6","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pam: libpam: libpam vulnerable to read hashed password","id":"CVE-2024-10041","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":111,"n_references":5,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2024-10042"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/almalinux/pam","source":"ALSA-2024:11250"},{"ecosystem":"AlmaLinux:9","fixed":["1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/almalinux/pam-devel","source":"ALSA-2024:11250"},{"ecosystem":"AlmaLinux:9","fixed":["1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-docs","purl":"pkg:rpm/almalinux/pam-docs","source":"ALSA-2024:11250"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2024:11250"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2024:11250"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2024:11250"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-docs","purl":"pkg:rpm/redhat/pam-docs","source":"RHSA-2024:11250"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2024:11250"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2024:11250"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.5.1-21.el9_5"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2024:11250"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.5.1-21.el9_4"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2024:9941"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.5.1-21.el9_4"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2024:9941"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.5.1-21.el9_4"],"introduced":["0"],"last_affected":[],"package":"pam-devel","purl":"pkg:rpm/redhat/pam-devel","source":"RHSA-2024:9941"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.5.1-21.el9_4"],"introduced":["0"],"last_affected":[],"package":"pam-docs","purl":"pkg:rpm/redhat/pam-docs","source":"RHSA-2024:9941"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:1.5.1-21.el9_4"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/redhat/pam","source":"RHSA-2024:9941"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:1.5.1-21.el9_4"],"introduced":["0"],"last_affected":[],"package":"pam-debuginfo","purl":"pkg:rpm/redhat/pam-debuginfo","source":"RHSA-2024:9941"},{"ecosystem":"Red Hat:rhel_eus:9.4::baseos","fixed":["0:1.5.1-21.el9_4"],"introduced":["0"],"last_affected":[],"package":"pam-debugsource","purl":"pkg:rpm/redhat/pam-debugsource","source":"RHSA-2024:9941"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.13.6-150300.3.24.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:1505-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.13.6-150300.3.24.1"],"introduced":["0"],"last_affected":[],"package":"libapparmor","purl":"pkg:rpm/suse/libapparmor\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:1505-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.3.0-150000.6.86.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:02970-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.13.6-150300.3.24.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:1505-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.13.6-150300.3.24.1"],"introduced":["0"],"last_affected":[],"package":"libapparmor","purl":"pkg:rpm/suse/libapparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:1505-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.3.0-150000.6.86.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:02970-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.0.4-150400.5.18.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:1549-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["3.0.4-150400.5.18.1"],"introduced":["0"],"last_affected":[],"package":"libapparmor","purl":"pkg:rpm/suse/libapparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:1549-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.3.0-150000.6.86.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:02970-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["3.0.4-150400.5.18.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:1549-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["3.0.4-150400.5.18.1"],"introduced":["0"],"last_affected":[],"package":"libapparmor","purl":"pkg:rpm/suse/libapparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:1549-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.3.0-150000.6.86.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:02970-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["3.0.4-150500.11.18.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:1512-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["3.0.4-150500.11.18.1"],"introduced":["0"],"last_affected":[],"package":"libapparmor","purl":"pkg:rpm/suse/libapparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:1512-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["1.3.0-150000.6.86.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:02970-2"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["3.0.4-150500.11.18.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:1512-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["3.0.4-150500.11.18.1"],"introduced":["0"],"last_affected":[],"package":"libapparmor","purl":"pkg:rpm/suse/libapparmor\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:1512-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["1.3.0-150000.6.86.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:02970-2"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["2.13.6-150300.3.24.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2025:1505-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["2.13.6-150300.3.24.1"],"introduced":["0"],"last_affected":[],"package":"libapparmor","purl":"pkg:rpm/suse/libapparmor\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2025:1505-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.3.0-150000.6.76.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2025:1334-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.3.0-150000.6.86.1"],"introduced":["0"],"last_affected":[],"package":"pam","purl":"pkg:rpm/suse/pam\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2025:02970-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["2.13.6-150300.3.24.1"],"introduced":["0"],"last_affected":[],"package":"apparmor","purl":"pkg:rpm/suse/apparmor\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2025:1505-1"}],"prev":{"headline":"Infinite-Scroll \u003c= 2.6.2 - Cross-Site Request Forgery to Plugin Settings Update","id":"CVE-2024-10040"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.4 Extended Update Support"],"published":"2024-10-23","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-28321","kev_date_added":null,"published":"2022-09-19"},{"cvss_score":9.8,"headline":"Auth bypass in pam","id":"CVE-2020-27780","kev_date_added":null,"published":"2020-12-17"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2010-4708","kev_date_added":null,"published":"2011-01-24"},{"cvss_score":6.9,"headline":"Privilege escalation in n/a","id":"CVE-2010-3853","kev_date_added":null,"published":"2011-01-24"},{"cvss_score":6.6,"headline":"Integer overflow in n/a","id":"CVE-2009-0887","kev_date_added":null,"published":"2009-03-12"},{"cvss_score":6.5,"headline":"Information disclosure in n/a","id":"CVE-2015-3238","kev_date_added":null,"published":"2015-08-24"},{"cvss_score":5.8,"headline":"Path traversal in n/a","id":"CVE-2014-2583","kev_date_added":null,"published":"2014-04-10"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-29","vendors":["Red Hat"]},"summary":"Attackers can exploit speculative execution flaws in PAM to leak hashed passwords from memory during authentication processes.","url":"https://insights.sbomify.com/CVE-2024-10041/"}