Stack-based buffer overflow in Sudo - CVE-2019-18634

 

Stack-based buffer overflow in Sudo - CVE-2019-18634

Published: January 31, 2020 / Updated: August 1, 2021


Vulnerability identifier: #VU24810
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2019-18634
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: Sudo
Affected software:
Sudo

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the getln() function in tgetpass.c, if pwfeedback is enabled in /etc/sudoers. A local user can trigger stack-based buffer overflow and execute arbitrary code on the target system with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2019-18634

Install updates from vendor's website.

Sources