CVE-2019-18634
Reported by mitre · Published January 29, 2020
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sudo | Arch Linux | 1.8.31-1 |
| sudo | Ubuntu:16.04:LTS | 1.8.16-0ubuntu1.9 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | sudo | 0 |
| n/a | n/a | * |
| amazon:2 | sudo | 0 |
| alpine | sudo | 0, 0, 0 |
| amazon:2 | sudo-devel | 0 |
Timeline
- Jan 29, 2020 CVE Published
- Feb 4, 2020 PoC Published (3 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch (7 in total, the first dated here)
- Mar 6, 2026 Security Advisory (11 in total, the first dated here)
- Sep 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-18634
vulnetix vdb fixes CVE-2019-18634
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-18634/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 20200129 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra mailing-listx_refsource_BUGTRAQ
- x_refsource_MISC
- x_refsource_CONFIRM
- [oss-security] 20200130 CVE-2019-18634: buffer overflow in sudo when pwfeedback is enabled mailing-listx_refsource_MLIST
- [oss-security] 20200131 Re: CVE-2019-18634: buffer overflow in sudo when pwfeedback is enabled mailing-listx_refsource_MLIST
- 20200131 APPLE-SA-2020-1-28-2 macOS Catalina 10.15.3, Security Update 2020-001 Mojave, Security Update 2020-001 High Sierra mailing-listx_refsource_FULLDISC
- DSA-4614 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20200201 [SECURITY] [DLA 2094-1] sudo security update mailing-listx_refsource_MLIST
- 20200203 [slackware-security] sudo (SSA:2020-031-01) mailing-listx_refsource_BUGTRAQ
- 20200203 [SECURITY] [DSA 4614-1] sudo security update mailing-listx_refsource_BUGTRAQ
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20200205 Re: CVE-2019-18634: buffer overflow in sudo when pwfeedback is enabled mailing-listx_refsource_MLIST
- [oss-security] 20200205 Re: CVE-2019-18634: buffer overflow in sudo when pwfeedback is enabled mailing-listx_refsource_MLIST
- USN-4263-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- USN-4263-2 vendor-advisoryx_refsource_UBUNTU
- RHSA-2020:0487 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0509 vendor-advisoryx_refsource_REDHAT
…and 6 more