CVE-2019-18634
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.
How to fix
- sudo_project sudo1.8.26 or later
- debian.org/security/2020/dsa-4614
- usn.ubuntu.com/4263-1/
- usn.ubuntu.com/4263-2/
- access.redhat.com/errata/RHSA-2020:0487
- access.redhat.com/errata/RHSA-2020:0509
- access.redhat.com/errata/RHSA-2020:0540
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/
- access.redhat.com/errata/RHSA-2020:0726
- security.gentoo.org/glsa/202003-12
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sudo_project sudo | 1.7.1 ≤ v < 1.8.26 | 1.8.26 |
| debian debian_linux | 8.0, 9.0, 10.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.