Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-3156: Security patch for sudo (ALAS-2021-1590)

Back to Search

Amazon Linux AMI 2: CVE-2021-3156: Security patch for sudo (ALAS-2021-1590)

Severity
7
CVSS
(AV:L/AC:L/Au:N/C:C/I:C/A:C)
Published
01/27/2021
Created
01/28/2021
Added
01/27/2021
Modified
03/18/2021

Description

Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character.

Solution(s)

  • amazon-linux-ami-2-upgrade-sudo
  • amazon-linux-ami-2-upgrade-sudo-debuginfo
  • amazon-linux-ami-2-upgrade-sudo-devel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;