Vulnerability · Published Oct 9, 2024 · Assigned by mitre
CVE-2024-47191
High 7.1
In plain English
A high-severity path traversal in the oath-toolkit package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.3%top 72.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | oath-toolkit | 2.6.7-3.1+deb12u1 | DSA-5784-1 |
| Debian:12 | oath-toolkit | 2.6.7-3.1+deb12u1 | DEBIAN-CVE-2024-47191 |
| Debian:13 | oath-toolkit | 2.6.12-1 | DEBIAN-CVE-2024-47191 |
| Debian:14 | oath-toolkit | 2.6.12-1 | DEBIAN-CVE-2024-47191 |
| Ubuntu:22.04:LTS | oath-toolkit | 2.6.7-3ubuntu0.1 | USN-7059-1 |
| Ubuntu:22.04:LTS | oath-toolkit | 2.6.7-3ubuntu0.1 | UBUNTU-CVE-2024-47191 |
| Ubuntu:24.04:LTS | oath-toolkit | 2.6.11-2.1ubuntu0.1 | UBUNTU-CVE-2024-47191 |
| Ubuntu:24.04:LTS | oath-toolkit | 2.6.11-2.1ubuntu0.1 | USN-7059-1 |
| Ubuntu:25.10 | oath-toolkit | no fix listed | UBUNTU-CVE-2024-47191 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/43
- https://www.openwall.com/lists/oss-security/2024/10/04/2
- https://security.opensuse.org/2024/10/04/oath-toolkit-vulnerability.html
- https://www.nongnu.org/oath-toolkit/security/CVE-2024-47191
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/60d9902b5c20f27e70f8e9c816bfdc0467567e1a
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/3235a52f6b87cd1c5da6508f421ac261f5e33a70
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/3271139989fde35ab0163b558fc29e80c3a280e5
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/95ef255e6a401949ce3f67609bf8aac2029db418
- http://www.openwall.com/lists/oss-security/2024/10/04/2
- http://www.openwall.com/lists/oss-security/2024/10/05/1
- http://www.openwall.com/lists/oss-security/2024/10/08/1
- http://www.openwall.com/lists/oss-security/2024/10/08/2
- http://www.openwall.com/lists/oss-security/2024/10/08/4
- http://www.openwall.com/lists/oss-security/2024/10/15/7
- http://www.openwall.com/lists/oss-security/2024/10/17/1
- http://www.openwall.com/lists/oss-security/2024/10/18/1
- http://www.openwall.com/lists/oss-security/2024/10/18/2