CVE-2019-18684

CWE-362Race Condition5 documents5 sources
Severity
7.0HIGH
EPSS
0.1%
top 71.74%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedNov 4
Latest updateMay 24

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

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.0 | Impact: 5.9

Affected Packages1 packages

NVDsudo_project/sudo1.8.29

🔴Vulnerability Details

2
GHSA
GHSA-h9q8-53pc-hhxf: Sudo through 12022-05-24
CVEList
CVE-2019-18684: Sudo through 12019-11-04

📋Vendor Advisories

1
Red Hat
sudo: privilege escalation via write access to file descriptor 3 of the sudo process2019-11-07

💬Community

1
Bugzilla
CVE-2019-18684 sudo: privilege escalation via write access to file descriptor 3 of the sudo process2019-11-12