CVE-2019-18634
Last modified
CVE-2019-18634 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 19.43% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sudo Project | Sudo | >= 1.7.1, < 1.8.26 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
References
- http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.htmlThird Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2020/Jan/40Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/30/6Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/31/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/02/05/2Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/02/05/5Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00002.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/2Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/3Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/44Mailing List, Third Party Advisory
- https://support.apple.com/kb/HT210919Third Party Advisory
- https://www.debian.org/security/2020/dsa-4614Third Party Advisory
- https://www.sudo.ws/alerts/pwfeedback.htmlExploit, Vendor Advisory
- https://www.sudo.ws/security.htmlVendor Advisory
- http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.htmlThird Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2020/Jan/40Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/30/6Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/01/31/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/02/05/2Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/02/05/5Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00002.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/2Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/3Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Jan/44Mailing List, Third Party Advisory
- https://support.apple.com/kb/HT210919Third Party Advisory
- https://www.debian.org/security/2020/dsa-4614Third Party Advisory
- https://www.sudo.ws/alerts/pwfeedback.htmlExploit, Vendor Advisory
- https://www.sudo.ws/security.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-18634?
How severe is CVE-2019-18634?
How do I fix CVE-2019-18634?
Are you affected by CVE-2019-18634?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
