All vulnerabilities

Servers and applications

CVE-2019-18684

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…

Severity
High 7.0
Published
4 Nov 2019
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.3% in the next 30 daysHigher than 22% of CVEs. EPSS by FIRST, 10 Nov 2026
Sources
NVD

Affected software

SoftwareAffected versions
sudoServers and applications · cpe:a:sudo_project:sudo
  • Every version up to 1.8.29

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2019-18684
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2019-18684