CVE-2019-18684: sudo_project sudo Race Condition
Vulnerability summary
CVE-2019-18684 is a high (CVSS 7.0) Race Condition vulnerability in sudo_project sudo. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 04-11-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
Sudo through 1.8.29 allows local users to escalate to root if they have write access to file descriptor 3 of the sudo process. This occurs because of a race condition between determining a uid, and the setresuid and openat system calls. The attacker can write "ALL ALL=(ALL) NOPASSWD:ALL" to /proc/#####/fd/3 at a time when Sudo is prompting for a password. NOTE: This has been disputed due to the way Linux /proc works. It has been argued that writing to /proc/#####/fd/3 would only be viable if you had permission to write to /etc/sudoers. Even with write permission to /proc/#####/fd/3, it would not help you write to /etc/sudoers
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
0.00 pp
From 0.29% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 found51171Aa161074188A11D96Cbef884Bbd
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Sudo_project1 product
- sudo≤ 1.8.29
1 vendor · 1 product