NetSight
high7.8Known exploitedPublic exploit code

CVE-2021-3156

Sudo Heap-Based Buffer Overflow Vulnerability

Exploited in the wild

This vulnerability is on a Known Exploited Vulnerabilities catalogue, added 2022-04-06. Federal due date: 2022-04-27.

Apply updates per vendor instructions.

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

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.

Affected products

VendorProductAffected versions
Sudo ProjectSudo
from 1.8.2 before 1.8.32
from 1.9.0 before 1.9.5
Version 1.9.5
FedoraprojectFedora
Versions 32, 33
DebianDebian Linux
Versions 9.0, 10.0
NetappActive Iq Unified Manager
All versions
NetappCloud Backup
All versions
NetappHci Management Node
All versions
NetappOncommand Unified Manager Core Package
All versions
NetappOntap Select Deploy Administration Utility
All versions
NetappOntap Tools
Version 9
NetappSolidfire
All versions
McafeeWeb Gateway
Versions 8.2.17, 9.2.8, 10.0.4
SynologyDiskstation Manager Unified Controller
Version 3.0

Weakness classification

References