CVE-2021-3156
Sudo Heap-Based Buffer Overflow Vulnerability
This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Sudo, fix it now.
CISA required action: Apply updates per vendor instructions.
US federal civilian agencies must remediate by Apr 27, 2022.
Patch status
Official fix available since
Apply the vendor's update to every affected system. Check the fixed-in versions below where known.
Basis: NVD patch reference
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.
Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.
Affected products
| Product | Vendor | Source |
|---|---|---|
| Sudo | Sudo | KEV |
Sources: KEV = CISA Known Exploited Vulnerabilities catalog. Version details have not been published yet.
Intelligence timeline
Developments from the last 30 days, newest first.
- CVSS scoredUpdateKEV
CVE-2021-3156 scored CVSS 7.8: Sudo Sudo, Sudo Heap-Based Buffer Overflow Vulnerability
CISA lists this as exploited in the wild. Unpatched Sudo systems are exposed to active attacks now.
Basis: NIST National Vulnerability Database
- Patch releasedUpdateKEV
Patch released for CVE-2021-3156: Sudo Sudo, Sudo Heap-Based Buffer Overflow Vulnerability
An official fix is now available for Sudo Sudo. This vulnerability is being exploited, so apply it promptly.
Basis: NVD patch reference
1 earlier event is available with a subscription. See plans.
Coverage
We have not published a story about this vulnerability yet.
References
- nvd.nist.gov
- packetstormsecurity.com
- packetstormsecurity.com
- packetstormsecurity.com
- packetstormsecurity.com
- packetstormsecurity.com
- seclists.org
- seclists.org
- seclists.org
- openwall.com
- openwall.com
- openwall.com
- openwall.com
- openwall.com
- openwall.com
- openwall.com
- kc.mcafee.com
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- security.netapp.com
- security.netapp.com
- support.apple.com
- tools.cisco.com
- beyondtrust.com
- debian.org
- kb.cert.org
- openwall.com
- oracle.com
