Amazon Linux 2 Security Advisory: ALAS-2020-1404
Advisory Release Date: 2020-03-16 20:58 Pacific
Advisory Updated Date: 2020-03-18 21:53 Pacific
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.(CVE-2019-18634)
Affected Packages:
sudo
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update sudo to update your system.
aarch64:
sudo-1.8.23-4.amzn2.2.aarch64
sudo-devel-1.8.23-4.amzn2.2.aarch64
sudo-debuginfo-1.8.23-4.amzn2.2.aarch64
i686:
sudo-1.8.23-4.amzn2.2.i686
sudo-devel-1.8.23-4.amzn2.2.i686
sudo-debuginfo-1.8.23-4.amzn2.2.i686
src:
sudo-1.8.23-4.amzn2.2.src
x86_64:
sudo-1.8.23-4.amzn2.2.x86_64
sudo-devel-1.8.23-4.amzn2.2.x86_64
sudo-debuginfo-1.8.23-4.amzn2.2.x86_64