Skip to content
OpenAdvisories
High · 7.1 CVE-2024-47191 EUVD-2024-42307GHSA-w8jp-q8g4-9f42

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…

Published Oct 9, 2024 · Updated Oct 18, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 oath-toolkit 2.6.12-1 —
Debian 13 oath-toolkit 2.6.12-1 —
Debian 12 oath-toolkit 2.6.7-3.1+deb12u1 DSA-5784-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 oath-toolkit No fix yet —
Ubuntu 24.04 LTS oath-toolkit 2.6.11-2.1ubuntu0.1 USN-7059-1
Ubuntu 22.04 LTS oath-toolkit 2.6.7-3ubuntu0.1 USN-7059-1
ReleasePackageFixed inAdvisory
Red Hat Ceph Storage 8 ceph +27 2:19.2.0-124.el9cp RHSA-2025:9775, RHSA-2025:3635
Red Hat Ceph Storage 8 cephadm-ansible 1:4.1.4-1.el9cp RHSA-2025:9775
Red Hat Ceph Storage 8 liboath +1 2.6.12-1.el9cp RHSA-2025:9775, RHSA-2025:3635
Red Hat Ceph Storage 7 ceph +25 2:18.2.1-329.el8cp RHSA-2025:4664
Red Hat Ceph Storage 7 cephadm 2:18.2.1-329.el9cp RHSA-2025:4664
Red Hat Ceph Storage 7 liboath +1 2.6.12-1.el8cp RHSA-2025:4664
Red Hat Ceph Storage 6 liboath +1 2.6.12-1.el8cp RHSA-2025:4238
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed oath-toolkit 2.6.11.12-1.1 openSUSE-SU-2024:14389-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 liboath +8 2.6.12-1.amzn2023.0.1 ALAS2023-2024-722

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 oath-toolkit 2.6.9-2 —
Azure Linux 2 (CBL-Mariner) oath-toolkit 2.6.7-3 —

Advisories 9

References