HIGH · 7.8

CVE-2021-3156

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...

Vulnerability 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.

CVSS Score

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
Sudo ProjectSudo>= 1.8.2, < 1.8.32
FedoraprojectFedora32
DebianDebian Linux9.0
NetappActive Iq Unified Manager-
NetappCloud Backup-
NetappHci Management Node-
NetappOncommand Unified Manager Core Package-
NetappOntap Select Deploy Administration Utility-
NetappOntap Tools9
NetappSolidfire-
McafeeWeb Gateway8.2.17
SynologyDiskstation Manager Unified Controller3.0
SynologyDiskstation Manager6.2
SynologySkynas Firmware-
SynologySkynas-
SynologyVs960Hd Firmware-
SynologyVs960Hd-
BeyondtrustPrivilege Management For Mac< 21.1.1
BeyondtrustPrivilege Management For Unix\/Linux< 10.3.2-10
OracleMicros Compact Workstation 3 Firmware310

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-3156?

CVE-2021-3156 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...

How severe is CVE-2021-3156?

CVE-2021-3156 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-3156?

Check the references section above for vendor advisories and patch information. Affected products include: Sudo Project Sudo, Fedoraproject Fedora, Debian Debian Linux, Netapp Active Iq Unified Manager, Netapp Cloud Backup.