Known exploited vulnerability
CVE-2021-3156
The short answer
CVE-2021-3156 affects n/a n/a and is rated high (CVSS 7.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2022-04-06: attackers are using it, so patch it first.
What it is
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.
Weakness: CWE-193.
Severity
7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Apr 6, 2022
Federal due date Apr 27, 2022
EPSS, next 30 days
100%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
Apply updates per vendor instructions.
Affected products
n/a. NVD's record lists the exact affected versions.
References
- kc.mcafee.com/corporate/index?page=content&id=SB10348 Broken LinkThird Party Advisory
- lists.debian.org/debian-lts-announce/2021/01/msg00022.html Mailing ListThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CALA5FTXIQBRRYUA2ZQNJXB6OQMAXEII/ Mailing ListRelease Notes
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LHXK6ICO5AYLGFK2TAX5MZKUXTUKWOJY/ Mailing ListRelease Notes
- security.gentoo.org/glsa/202101-33 Third Party Advisory
- security.netapp.com/advisory/ntap-20210128-0001/ Third Party Advisory
- security.netapp.com/advisory/ntap-20210128-0002/ Third Party Advisory
- support.apple.com/kb/HT212177 Third Party Advisory
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sudo-privesc-jan2021-qnYQfcM Third Party Advisory
- www.beyondtrust.com/blog/entry/security-advisory-privilege-management-for-unix-linux-pmul-basic-and-privilege-management-for-mac-pmm-affected-by-sudo-vulnerability Third Party Advisory
- www.debian.org/security/2021/dsa-4839 Third Party Advisory
- www.kb.cert.org/vuls/id/794544 Third Party AdvisoryUS Government Resource
Questions
Is CVE-2021-3156 being exploited?
Yes. CISA added CVE-2021-3156 to its Known Exploited Vulnerabilities catalog on 2022-04-06, with a federal remediation due date of 2022-04-27.
How do I fix CVE-2021-3156?
CISA's required action: Apply updates per vendor instructions.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Sudo exploited vulnerabilities
Everything CISA lists as exploited for Sudo.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.