SB2020013021 - Stack-based buffer overflow in sudo (Alpine package)
Published: January 30, 2020
Security Bulletin ID
SB2020013021
Severity
Low
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Local access
Highest impact
Code execution
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Stack-based buffer overflow (CVE-ID: CVE-2019-18634)
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.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=4657aaffc31f7533f34771b95358fa2f7c833b01
- https://git.alpinelinux.org/aports/commit/?id=76c7cb0ae293d4800b471c9d7793a59609e304b1
- https://git.alpinelinux.org/aports/commit/?id=8788474ba192c238921e2fbe2ff7e930445dcf24
- https://git.alpinelinux.org/aports/commit/?id=335b433870315222476ab36d3844ac5782cfddbe
- https://git.alpinelinux.org/aports/commit/?id=691af4d751b10236efa6cce5e2866dabfc5047dd
- https://git.alpinelinux.org/aports/commit/?id=35cc1de5b1dd6af591cc931b96b045edab5d8525