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 a single backslash character.
Actively exploited
- In the CISA exploited-vulnerabilities catalogue since Apr 6, 2022
- US federal agencies must remediate it by Apr 27, 2022 (BOD 22-01)
- First attack observed 434 days after disclosure
Apply updates per vendor instructions.
Source: CISA KEV · Aug 20, 2026 Aug 7, 2026 Jul 23, 2026 Jul 29, 2025 May 30, 2025 Jun 19, 2024
CVSS score7.8 / 10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness type (CWE)CWE-193, CWE-193
Vendorsdebian, oracle, netapp, fedoraproject, beyondtrust, sudo project, mcafee, synology
Affected products
| Vendors | Prodotto | Versioni |
|---|---|---|
| sudo project | sudo | < 1.8.32 |
| fedoraproject | fedora | 32 |
| debian | debian linux | 9.0 |
| netapp | active iq unified manager | - |
| netapp | cloud backup | - |
| netapp | hci management node | - |
| netapp | oncommand unified manager core package | - |
| netapp | ontap select deploy administration utility | - |
| netapp | ontap tools | 9 |
| netapp | solidfire | - |
| mcafee | web gateway | 8.2.17 |
| synology | diskstation manager unified controller | 3.0 |
| synology | diskstation manager | 6.2 |
| synology | skynas firmware | - |
| synology | skynas | - |
| synology | vs960hd firmware | - |
| synology | vs960hd | - |
| beyondtrust | privilege management for mac | < 21.1.1 |
| beyondtrust | privilege management for unix\/linux | < 10.3.2-10 |
| oracle | micros compact workstation 3 firmware | 310 |
| oracle | micros compact workstation 3 | - |
| oracle | micros es400 firmware | <= 410 |
| oracle | micros es400 | - |
| oracle | micros kitchen display system firmware | 210 |
| oracle | micros kitchen display system | - |
Related articles
This product uses the NVD API but is not endorsed or certified by the NVD.
