CVE-2019-18634 Memory corruption in n/a
A stack-based buffer overflow in Sudo allows local attackers to escalate privileges if the pwfeedback option is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-18634?
CVE-2019-18634 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 29 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2019-18634?
It affects 2 products.
Linux distribution packages (40)
sudo Red Hat:enterprise_linux:6::client | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-devel Red Hat:enterprise_linux:6::client | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo Red Hat:enterprise_linux:6::computenode | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-devel Red Hat:enterprise_linux:6::computenode | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo Red Hat:enterprise_linux:6::server | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-devel Red Hat:enterprise_linux:6::server | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo Red Hat:enterprise_linux:6::workstation | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo-devel Red Hat:enterprise_linux:6::workstation | All versions | 0:1.8.6p3-29.el6_10.3 |
sudo Red Hat:enterprise_linux:7::client | All versions | 0:1.8.23-4.el7_7.2 |
sudo-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:1.8.23-4.el7_7.2 |
sudo-devel Red Hat:enterprise_linux:7::client | All versions | 0:1.8.23-4.el7_7.2 |
sudo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.8.23-4.el7_7.2 |
sudo-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.8.23-4.el7_7.2 |
sudo-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:1.8.23-4.el7_7.2 |
sudo Red Hat:enterprise_linux:7::server | All versions | 0:1.8.23-4.el7_7.2 |
sudo-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1.8.23-4.el7_7.2 |
sudo-devel Red Hat:enterprise_linux:7::server | All versions | 0:1.8.23-4.el7_7.2 |
sudo Red Hat:enterprise_linux:7::workstation | All versions | 0:1.8.23-4.el7_7.2 |
sudo-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:1.8.23-4.el7_7.2 |
sudo-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:1.8.23-4.el7_7.2 |
sudo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.25p1-8.el8_1.1 |
sudo-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.25p1-8.el8_1.1 |
sudo-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1.8.25p1-8.el8_1.1 |
sudo Red Hat:rhel_e4s:8.0::baseos | All versions | 0:1.8.25p1-4.el8_0.3 |
sudo-debuginfo Red Hat:rhel_e4s:8.0::baseos | All versions | 0:1.8.25p1-4.el8_0.3 |
sudo-debugsource Red Hat:rhel_e4s:8.0::baseos | All versions | 0:1.8.25p1-4.el8_0.3 |
sudo SUSE:Enterprise Storage 5 | All versions | 1.8.20p2-3.17.1 |
sudo SUSE:HPE Helion OpenStack 8 | All versions | 1.8.20p2-3.17.1 |
sudo SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 1.8.20p2-3.17.1 |
sudo SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 1.8.22-4.9.1 |
sudo SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 1.8.22-4.9.1 |
sudo SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 1.8.22-4.9.1 |
sudo SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 1.8.22-4.9.1 |
sudo SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 1.8.10p3-2.32.1 |
sudo SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 1.8.10p3-10.26.1 |
sudo SUSE:Linux Enterprise Server 12 SP2-LTSS | All versions | 1.8.10p3-10.26.1 |
Products include Debian Debian Linux, Sudo Project Sudo.
How do I fix CVE-2019-18634?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-18634 being exploited?
There is no known exploitation of CVE-2019-18634 in the wild and no public exploit code.
Public exploit code: 2 Exploit-DB entries and 14 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2019-18634, DEBIAN-CVE-2019-18634, DLA-2094-1, DSA-4614-1, GHSA-rjv5-9w4p-4jrw, MGASA-2020-0081 and 13 more.