{"id":"UBUNTU-CVE-2024-10041","details":"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.","modified":"2026-08-31T17:15:38.483794481Z","published":"2024-10-23T14:15:00Z","upstream":["CVE-2024-10041"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-10041"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-10041"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-10041"}],"affected":[{"package":{"name":"pam","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/pam?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.3-8ubuntu3","1.1.3-10ubuntu1","1.1.3-11ubuntu1","1.1.8-1ubuntu1","1.1.8-1ubuntu2","1.1.8-1ubuntu2.1","1.1.8-1ubuntu2.2","1.1.8-1ubuntu2.2+esm1","1.1.8-1ubuntu2.2+esm3","1.1.8-1ubuntu2.2+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libpam-cracklib","binary_version":"1.1.8-1ubuntu2.2+esm4"},{"binary_name":"libpam-modules","binary_version":"1.1.8-1ubuntu2.2+esm4"},{"binary_name":"libpam-modules-bin","binary_version":"1.1.8-1ubuntu2.2+esm4"},{"binary_name":"libpam-runtime","binary_version":"1.1.8-1ubuntu2.2+esm4"},{"binary_name":"libpam0g","binary_version":"1.1.8-1ubuntu2.2+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-10041.json"}},{"package":{"name":"pam","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/pam?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.8-3.1ubuntu3","1.1.8-3.2ubuntu2","1.1.8-3.2ubuntu2.1","1.1.8-3.2ubuntu2.3","1.1.8-3.2ubuntu2.3+esm1","1.1.8-3.2ubuntu2.3+esm2","1.1.8-3.2ubuntu2.3+esm4","1.1.8-3.2ubuntu2.3+esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"libpam-cracklib","binary_version":"1.1.8-3.2ubuntu2.3+esm5"},{"binary_name":"libpam-modules","binary_version":"1.1.8-3.2ubuntu2.3+esm5"},{"binary_name":"libpam-modules-bin","binary_version":"1.1.8-3.2ubuntu2.3+esm5"},{"binary_version":"1.1.8-3.2ubuntu2.3+esm5","binary_name":"libpam-runtime"},{"binary_name":"libpam0g","binary_version":"1.1.8-3.2ubuntu2.3+esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-10041.json"}},{"package":{"name":"pam","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/pam?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.8-3.2ubuntu3","1.1.8-3.2ubuntu4","1.1.8-3.6ubuntu1","1.1.8-3.6ubuntu2","1.1.8-3.6ubuntu2.18.04.1","1.1.8-3.6ubuntu2.18.04.2","1.1.8-3.6ubuntu2.18.04.3","1.1.8-3.6ubuntu2.18.04.4","1.1.8-3.6ubuntu2.18.04.6","1.1.8-3.6ubuntu2.18.04.6+esm1","1.1.8-3.6ubuntu2.18.04.6+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libpam-cracklib","binary_version":"1.1.8-3.6ubuntu2.18.04.6+esm2"},{"binary_name":"libpam-modules","binary_version":"1.1.8-3.6ubuntu2.18.04.6+esm2"},{"binary_name":"libpam-modules-bin","binary_version":"1.1.8-3.6ubuntu2.18.04.6+esm2"},{"binary_version":"1.1.8-3.6ubuntu2.18.04.6+esm2","binary_name":"libpam-runtime"},{"binary_name":"libpam0g","binary_version":"1.1.8-3.6ubuntu2.18.04.6+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-10041.json"}},{"package":{"name":"pam","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/pam?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-5ubuntu1","1.3.1-5ubuntu3","1.3.1-5ubuntu4","1.3.1-5ubuntu4.1","1.3.1-5ubuntu4.2","1.3.1-5ubuntu4.3","1.3.1-5ubuntu4.4","1.3.1-5ubuntu4.6","1.3.1-5ubuntu4.7","1.3.1-5ubuntu4.7+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpam-cracklib","binary_version":"1.3.1-5ubuntu4.7+esm1"},{"binary_name":"libpam-modules","binary_version":"1.3.1-5ubuntu4.7+esm1"},{"binary_version":"1.3.1-5ubuntu4.7+esm1","binary_name":"libpam-modules-bin"},{"binary_version":"1.3.1-5ubuntu4.7+esm1","binary_name":"libpam-runtime"},{"binary_name":"libpam0g","binary_version":"1.3.1-5ubuntu4.7+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-10041.json"}},{"package":{"name":"pam","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pam?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-5ubuntu11","1.4.0-10ubuntu1","1.4.0-10ubuntu2","1.4.0-11ubuntu1","1.4.0-11ubuntu2","1.4.0-11ubuntu2.1","1.4.0-11ubuntu2.3","1.4.0-11ubuntu2.4","1.4.0-11ubuntu2.5","1.4.0-11ubuntu2.6","1.4.0-11ubuntu2.7","1.4.0-11ubuntu2.8"],"ecosystem_specific":{"binaries":[{"binary_name":"libpam-cracklib","binary_version":"1.4.0-11ubuntu2.8"},{"binary_version":"1.4.0-11ubuntu2.8","binary_name":"libpam-modules"},{"binary_version":"1.4.0-11ubuntu2.8","binary_name":"libpam-modules-bin"},{"binary_name":"libpam-runtime","binary_version":"1.4.0-11ubuntu2.8"},{"binary_name":"libpam0g","binary_version":"1.4.0-11ubuntu2.8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-10041.json"}},{"package":{"name":"pam","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pam?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.2-6ubuntu1","1.5.2-9.1ubuntu1","1.5.2-9.1ubuntu2","1.5.2-9.1ubuntu3","1.5.3-5ubuntu3","1.5.3-5ubuntu4","1.5.3-5ubuntu5","1.5.3-5ubuntu5.1","1.5.3-5ubuntu5.4","1.5.3-5ubuntu5.5","1.5.3-5ubuntu5.6","1.5.3-5ubuntu5.7"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.3-5ubuntu5.7","binary_name":"libpam-modules"},{"binary_name":"libpam-modules-bin","binary_version":"1.5.3-5ubuntu5.7"},{"binary_name":"libpam-runtime","binary_version":"1.5.3-5ubuntu5.7"},{"binary_name":"libpam0g","binary_version":"1.5.3-5ubuntu5.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-10041.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}