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.
Published:Jan 26, 2021
Last Modified:Nov 10, 2025
EPS:Jan 26, 2021
EPSS Score:0.92188
CVSS Score:7.8
CISA Notification
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.
Required Action:
Apply updates per vendor instructions.
Notes:
No extra notes provided.
Due Date
Apr 27, 2022
1598 days ago
Alert Date
Apr 6, 2022
1619 days ago
Affected Products
Vendor
Product
Action
Vendor
Beyondtrust
Product
Privilege Management For Mac
Beyondtrust
Privilege Management For Mac
Vendor
Beyondtrust
Product
Privilege Management For Unix\/linux
Beyondtrust
Privilege Management For Unix\/linux
Vendor
Debian
Product
Debian Linux
Debian
Debian Linux
Vendor
Fedoraproject
Product
Fedora
Fedoraproject
Fedora
Vendor
Mcafee
Product
Web Gateway
Mcafee
Web Gateway
Vendor
Netapp
Product
Active Iq Unified Manager
Netapp
Active Iq Unified Manager
Vendor
Netapp
Product
Cloud Backup
Netapp
Cloud Backup
Vendor
Netapp
Product
Hci Management Node
Netapp
Hci Management Node
Vendor
Netapp
Product
Oncommand Unified Manager Core Package
Netapp
Oncommand Unified Manager Core Package
Vendor
Netapp
Product
Ontap Select Deploy Administration Utility
Netapp
Ontap Select Deploy Administration Utility
Vendor
Netapp
Product
Ontap Tools
Netapp
Ontap Tools
Vendor
Netapp
Product
Solidfire
Netapp
Solidfire
Vendor
Oracle
Product
Communications Performance Intelligence Center
Oracle
Communications Performance Intelligence Center
Vendor
Oracle
Product
Micros Compact Workstation 3
Oracle
Micros Compact Workstation 3
Vendor
Oracle
Product
Micros Compact Workstation 3 Firmware
Oracle
Micros Compact Workstation 3 Firmware
Vendor
Oracle
Product
Micros Es400
Oracle
Micros Es400
Vendor
Oracle
Product
Micros Es400 Firmware
Oracle
Micros Es400 Firmware
Vendor
Oracle
Product
Micros Kitchen Display System
Oracle
Micros Kitchen Display System
Vendor
Oracle
Product
Micros Kitchen Display System Firmware
Oracle
Micros Kitchen Display System Firmware
Vendor
Oracle
Product
Micros Workstation 5a
Oracle
Micros Workstation 5a
Vendor
Oracle
Product
Micros Workstation 5a Firmware
Oracle
Micros Workstation 5a Firmware
Vendor
Oracle
Product
Micros Workstation 6
Oracle
Micros Workstation 6
Vendor
Oracle
Product
Micros Workstation 6 Firmware
Oracle
Micros Workstation 6 Firmware
Vendor
Oracle
Product
Tekelec Platform Distribution
Oracle
Tekelec Platform Distribution
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Rhel Aus
Redhat
Rhel Aus
Vendor
Redhat
Product
Rhel E4s
Redhat
Rhel E4s
Vendor
Redhat
Product
Rhel Els
Redhat
Rhel Els
Vendor
Redhat
Product
Rhel Eus
Redhat
Rhel Eus
Vendor
Redhat
Product
Rhel Tus
Redhat
Rhel Tus
Vendor
Redhat
Product
Rhev Hypervisor
Redhat
Rhev Hypervisor
Vendor
Sudo Project
Product
Sudo
Sudo Project
Sudo
Vendor
Synology
Product
Diskstation Manager
Synology
Diskstation Manager
Vendor
Synology
Product
Diskstation Manager Unified Controller
Synology
Diskstation Manager Unified Controller
Vendor
Synology
Product
Skynas
Synology
Skynas
Vendor
Synology
Product
Skynas Firmware
Synology
Skynas Firmware
Vendor
Synology
Product
Vs960hd
Synology
Vs960hd
Vendor
Synology
Product
Vs960hd Firmware
Synology
Vs960hd Firmware
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
