{"id":"UBUNTU-CVE-2024-47191","details":"pam_oath.so in oath-toolkit 2.6.7 through 2.6.11 before 2.6.12 allows root privilege escalation because, in the context of PAM code running as root, it mishandles usersfile access, such as by calling fchown in the presence of a symlink.","modified":"2026-04-22T18:24:22.358622Z","published":"2024-10-04T00:00:00Z","related":["USN-7059-1","USN-7059-2"],"upstream":["CVE-2024-47191"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-47191"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-47191"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2024/10/04/2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7059-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7059-2"}],"affected":[{"package":{"name":"oath-toolkit","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/oath-toolkit@2.6.7-3ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.7-3ubuntu0.1"}]}],"versions":["2.6.6-3","2.6.6-3build1","2.6.7-3","2.6.7-3build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"liboath0","binary_version":"2.6.7-3ubuntu0.1"},{"binary_name":"libpam-oath","binary_version":"2.6.7-3ubuntu0.1"},{"binary_name":"libpskc0","binary_version":"2.6.7-3ubuntu0.1"},{"binary_name":"oathtool","binary_version":"2.6.7-3ubuntu0.1"},{"binary_name":"pskctool","binary_version":"2.6.7-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47191.json"}},{"package":{"name":"oath-toolkit","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/oath-toolkit@2.6.11-2.1ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.11-2.1ubuntu0.1"}]}],"versions":["2.6.9-1","2.6.10-1","2.6.11-1","2.6.11-2","2.6.11-2.1build1","2.6.11-2.1build2","2.6.11-2.1build3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"liboath0t64","binary_version":"2.6.11-2.1ubuntu0.1"},{"binary_name":"libpam-oath","binary_version":"2.6.11-2.1ubuntu0.1"},{"binary_name":"libpskc0t64","binary_version":"2.6.11-2.1ubuntu0.1"},{"binary_name":"oathtool","binary_version":"2.6.11-2.1ubuntu0.1"},{"binary_name":"pskctool","binary_version":"2.6.11-2.1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47191.json"}},{"package":{"name":"oath-toolkit","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/oath-toolkit@2.6.12-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.11-3ubuntu1","2.6.11-3ubuntu3","2.6.12-1"],"ecosystem_specific":{"binaries":[{"binary_name":"liboath0t64","binary_version":"2.6.12-1"},{"binary_name":"libpam-oath","binary_version":"2.6.12-1"},{"binary_name":"libpskc0t64","binary_version":"2.6.12-1"},{"binary_name":"oathtool","binary_version":"2.6.12-1"},{"binary_name":"pskctool","binary_version":"2.6.12-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47191.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}