{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-18684","published":"2019-11-04T16:15:11.437000Z","last_modified":"2026-06-17T02:25:17.877000Z","status":"Modified","cvss":{"version":"3.1","score":7.0,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-362"],"cpes":[{"criteria":"cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*","part":"a","vendor":"sudo_project","product":"sudo","version_end_including":"1.8.29"}],"cpes_truncated":false,"vendors":["sudo_project"],"products":["sudo_project/sudo"],"epss":{"score":0.00294,"percentile":0.23662,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":42,"links":{"html_es":"/es/cve/CVE-2019-18684/","html_en":"/en/cve/CVE-2019-18684/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-18684","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-18684"},"untrusted":{"vendor_name":"Sudo Project","product_name":"Sudo","desc_en":"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","affected":[],"references":[{"url":"https://gist.github.com/oxagast/51171aa161074188a11d96cbef884bbd","tags":["Exploit","Third Party Advisory"]}]}}