Buffer overflow in Sudo Project
CVE-2019-18634
In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.193 (97.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.194 · newest: 0.193 · change: -0.002
Affected products
- Sudo Project
- Debian Linux — versions 8.0, 9.0, 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- support.apple.com/kb/HT210919 (Third Party Advisory)
- seclists.org/bugtraq/2020/Jan/44 (mailing-list, Mailing List, Third Party Advisory)
- www.sudo.ws/security.html (Vendor Advisory)
- www.sudo.ws/alerts/pwfeedback.html (Exploit, Vendor Advisory)
- www.openwall.com/lists/oss-security/2020/01/30/6 (mailing-list, Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2020/01/31/1 (mailing-list, Mailing List, Third Party Advisory)
- seclists.org/fulldisclosure/2020/Jan/40 (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2020/dsa-4614 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/02/msg00002.html (mailing-list, Mailing List, Third Party Advisory)
- seclists.org/bugtraq/2020/Feb/3 (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-18634?
- CVE-2019-18634 is a high-severity vulnerability in Sudo Project, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2020-01-29.
- How severe is CVE-2019-18634?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2019-18634 known to be exploited?
- 98 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.