# 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.

- Page: https://www.vulneraibility.com/cve/CVE-2019-18634
- CVSS: 7.8
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 19.28% (percentile 97.4)
- Public exploit code: 2 on Exploit-DB · 14 GitHub proofs of concept (first 2020-02-04)
- Published: 2020-01-29

## Affected

- sudo_project:sudo
- debian:debian_linux

## References

- [other] https://support.apple.com/kb/HT210919
- [other] https://seclists.org/bugtraq/2020/Jan/44
- [other] https://www.sudo.ws/security.html
- [other] https://www.sudo.ws/alerts/pwfeedback.html
- [other] http://www.openwall.com/lists/oss-security/2020/01/30/6
- [other] http://www.openwall.com/lists/oss-security/2020/01/31/1
- [other] http://seclists.org/fulldisclosure/2020/Jan/40
- [advisory] https://www.debian.org/security/2020/dsa-4614
- [other] https://lists.debian.org/debian-lts-announce/2020/02/msg00002.html
- [other] https://seclists.org/bugtraq/2020/Feb/3
- [other] https://seclists.org/bugtraq/2020/Feb/2
- [other] http://packetstormsecurity.com/files/156174/Slackware-Security-Advisory-sudo-Updates.html
- [other] http://packetstormsecurity.com/files/156189/Sudo-1.8.25p-Buffer-Overflow.html
- [other] http://www.openwall.com/lists/oss-security/2020/02/05/2
- [other] http://www.openwall.com/lists/oss-security/2020/02/05/5
- [advisory] https://usn.ubuntu.com/4263-1/
- [other] https://security.netapp.com/advisory/ntap-20200210-0001/
- [advisory] https://usn.ubuntu.com/4263-2/
- [advisory] https://access.redhat.com/errata/RHSA-2020:0487
- [advisory] https://access.redhat.com/errata/RHSA-2020:0509
- [advisory] https://access.redhat.com/errata/RHSA-2020:0540
- [advisory] http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00029.html
- [advisory] https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/
- [advisory] https://access.redhat.com/errata/RHSA-2020:0726
- [advisory] https://security.gentoo.org/glsa/202003-12
- [advisory] https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
