CVE-2021-3156

HIGH CVSS 3.1: 7.8 EPSS 100.0% ACTIVE EXPLOIT
Updated Jun 17, 2026
NetApp

CISA Known Exploited Vulnerability (KEV)

This vulnerability is actively exploited in the wild. Immediate patching is strongly recommended.

Due Date: Apr 27, 2022

Parameter Value
CVSS 7.8 (HIGH)
Affected Versions 1.8.2 — 7.7.1
Fixed In 1.8.32
Type CWE-193
Vendor NetApp
Public PoC Yes

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 39

Configuration From (including) Up to (excluding)
Sudo_Project Sudo
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
1.8.2 1.8.32
Sudo_Project Sudo
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
1.9.0 1.9.5
Sudo_Project Sudo
cpe:2.3:a:sudo_project:sudo:1.9.5:-:*:*:*:*:*:*
— —
Sudo_Project Sudo
cpe:2.3:a:sudo_project:sudo:1.9.5:patch1:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
— —
Netapp Active_Iq_Unified_Manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
— —
Netapp Cloud_Backup
cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*
— —
Netapp Hci_Management_Node
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
— —
Netapp Oncommand_Unified_Manager_Core_Package
cpe:2.3:a:netapp:oncommand_unified_manager_core_package:-:*:*:*:*:*:*:*
— —
Netapp Ontap_Select_Deploy_Administration_Utility
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
— —
Netapp Ontap_Tools
cpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:*
— —
Netapp Solidfire
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
— —
Mcafee Web_Gateway
cpe:2.3:a:mcafee:web_gateway:8.2.17:*:*:*:*:*:*:*
— —
Mcafee Web_Gateway
cpe:2.3:a:mcafee:web_gateway:9.2.8:*:*:*:*:*:*:*
— —
Mcafee Web_Gateway
cpe:2.3:a:mcafee:web_gateway:10.0.4:*:*:*:*:*:*:*
— —
Synology Diskstation_Manager_Unified_Controller
cpe:2.3:a:synology:diskstation_manager_unified_controller:3.0:*:*:*:*:*:*:*
— —
Synology Diskstation_Manager
cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:*
— —
Synology Skynas_Firmware
cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:*
— —
Synology Skynas
cpe:2.3:h:synology:skynas:-:*:*:*:*:*:*:*
— —
Synology Vs960hd_Firmware
cpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:*
— —
Synology Vs960hd
cpe:2.3:h:synology:vs960hd:-:*:*:*:*:*:*:*
— —
Beyondtrust Privilege_Management_For_Mac
cpe:2.3:a:beyondtrust:privilege_management_for_mac:*:*:*:*:*:*:*:*
— 21.1.1
Beyondtrust Privilege_Management_For_Unix\/Linux
cpe:2.3:a:beyondtrust:privilege_management_for_unix\/linux:*:*:*:*:basic:*:*:*
— 10.3.2-10
Oracle Micros_Compact_Workstation_3_Firmware
cpe:2.3:o:oracle:micros_compact_workstation_3_firmware:310:*:*:*:*:*:*:*
— —
Oracle Micros_Compact_Workstation_3
cpe:2.3:h:oracle:micros_compact_workstation_3:-:*:*:*:*:*:*:*
— —
Oracle Micros_Es400_Firmware
cpe:2.3:o:oracle:micros_es400_firmware:*:*:*:*:*:*:*:*
400 <= 410
Oracle Micros_Es400
cpe:2.3:h:oracle:micros_es400:-:*:*:*:*:*:*:*
— —
Oracle Micros_Kitchen_Display_System_Firmware
cpe:2.3:o:oracle:micros_kitchen_display_system_firmware:210:*:*:*:*:*:*:*
— —
Oracle Micros_Kitchen_Display_System
cpe:2.3:h:oracle:micros_kitchen_display_system:-:*:*:*:*:*:*:*
— —
Oracle Micros_Workstation_5a_Firmware
cpe:2.3:o:oracle:micros_workstation_5a_firmware:5a:*:*:*:*:*:*:*
— —
Oracle Micros_Workstation_5a
cpe:2.3:h:oracle:micros_workstation_5a:-:*:*:*:*:*:*:*
— —
Oracle Micros_Workstation_6_Firmware
cpe:2.3:o:oracle:micros_workstation_6_firmware:*:*:*:*:*:*:*:*
610 <= 655
Oracle Micros_Workstation_6
cpe:2.3:h:oracle:micros_workstation_6:-:*:*:*:*:*:*:*
— —
Oracle Communications_Performance_Intelligence_Center
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*
10.3.0.0.0 <= 10.3.0.2.1
Oracle Communications_Performance_Intelligence_Center
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*
10.4.0.1.0 <= 10.4.0.3.1
Oracle Tekelec_Platform_Distribution
cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*
7.4.0 <= 7.7.1

References 35

http://packetstormsecurity.com/files/161160/Sudo-Heap-Based-Buffer-Overflow.html
cve@mitre.org
http://packetstormsecurity.com/files/161230/Sudo-Buffer-Overflow-Privilege-Esca…
cve@mitre.org
http://packetstormsecurity.com/files/161270/Sudo-1.9.5p1-Buffer-Overflow-Privil…
cve@mitre.org
http://packetstormsecurity.com/files/161293/Sudo-1.8.31p2-1.9.5p1-Buffer-Overfl…
cve@mitre.org
http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Over…
cve@mitre.org
http://seclists.org/fulldisclosure/2021/Feb/42
cve@mitre.org
http://seclists.org/fulldisclosure/2021/Jan/79
cve@mitre.org
http://seclists.org/fulldisclosure/2024/Feb/3
cve@mitre.org
http://www.openwall.com/lists/oss-security/2021/01/26/3
cve@mitre.org
http://www.openwall.com/lists/oss-security/2021/01/27/1
cve@mitre.org
http://www.openwall.com/lists/oss-security/2021/01/27/2
cve@mitre.org
http://www.openwall.com/lists/oss-security/2021/02/15/1
cve@mitre.org
http://www.openwall.com/lists/oss-security/2021/09/14/2
cve@mitre.org
http://www.openwall.com/lists/oss-security/2024/01/30/6
cve@mitre.org
http://www.openwall.com/lists/oss-security/2024/01/30/8
cve@mitre.org
https://kc.mcafee.com/corporate/index?page=content&id=SB10348
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2021/01/msg00022.html
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://security.gentoo.org/glsa/202101-33
cve@mitre.org
https://security.netapp.com/advisory/ntap-20210128-0001/
cve@mitre.org
https://security.netapp.com/advisory/ntap-20210128-0002/
cve@mitre.org
https://support.apple.com/kb/HT212177
cve@mitre.org
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-…
cve@mitre.org
https://www.beyondtrust.com/blog/entry/security-advisory-privilege-management-f…
cve@mitre.org
https://www.debian.org/security/2021/dsa-4839
cve@mitre.org
https://www.kb.cert.org/vuls/id/794544
cve@mitre.org
https://www.openwall.com/lists/oss-security/2021/01/26/3
cve@mitre.org
https://www.oracle.com//security-alerts/cpujul2021.html
cve@mitre.org
https://www.oracle.com/security-alerts/cpuapr2022.html
cve@mitre.org
https://www.oracle.com/security-alerts/cpuoct2021.html
cve@mitre.org
https://www.sudo.ws/stable.html#1.9.5p2
cve@mitre.org
https://www.synology.com/security/advisory/Synology_SA_21_02
cve@mitre.org
https://www.vicarius.io/vsociety/posts/sudoedit-pwned-cve-2021-3156
cve@mitre.org
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021…
134c704f-9b21-4f2e-91b3-4a467353bcc0