Exploited vulnerabilities · Sudo
CVE-2021-3156
Sudo Heap-Based Buffer Overflow Vulnerability
Sudo contains an off-by-one error that can result in a heap-based buffer overflow, which allows for privilege escalation.
Description in the NVD
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.
Required action according to CISA
Apply updates per vendor instructions.
What to do now
- Check your exposureFind out whether Sudo Sudo runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- kc.mcafee.com/corporate/index?page=content&id=SB10348
- lists.debian.org/debian-lts-announce/2021/01/msg00022.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- security.gentoo.org/glsa/202101-33
- security.netapp.com/advisory/ntap-20210128-0001/
- security.netapp.com/advisory/ntap-20210128-0002/
- support.apple.com/kb/HT212177
- nvd.nist.gov/vuln/detail/CVE-2021-3156
More exploited vulnerabilities in Sudo products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.