91

CVE-2021-3156

HIGH
CVSS 7.8
ACTIVELY EXPLOITED
EPSS: 100.0%
Published: 1/26/2021
Modified: 6/17/2026
KEV Added: 4/6/2022
Exploit Prediction Score (EPSS)99.96% probability of exploitation (100th percentile)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor: sudo_project
Product: sudo

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.

AI Threat Analysis
Pro+

Sign in to access AI-powered vulnerability analysis

AI Remediation Playbook
Pro+

Get step-by-step remediation playbooks with specific commands, verification steps, and rollback procedures.

Upgrade to Pro+

AI Attack Path AnalysisPro+

Visualize potential attack chains and lateral movement paths with AI-powered analysis.

AI Risk ForecastingPro+

Predict exploitation likelihood with AI-powered threat intelligence forecasting.

AI Compliance MappingPro+

Map vulnerabilities to compliance frameworks with AI-assisted gap analysis.

Stay Protected with ThreatMonitor

Get instant alerts when new vulnerabilities affect your systems. Track CVE-2021-3156 and other sudo_project CVEs with our free account.

Smart Alerts
Bookmark & Track
AI Analysis (Pro+)

Weakness Types (CWE)

References (68)

http://seclists.org/fulldisclosure/2021/Feb/42
Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/Jan/79
ExploitMailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2024/Feb/3
ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2021/01/26/3
ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2021/02/15/1
ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2021/09/14/2
Mailing ListPatchThird Party Advisory
https://www.kb.cert.org/vuls/id/794544
Third Party AdvisoryUS Government Resource
https://www.openwall.com/lists/oss-security/2021/01/26/3
ExploitMailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/Feb/42
Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2021/Jan/79
ExploitMailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2024/Feb/3
ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2021/01/26/3
ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2021/02/15/1
ExploitMailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2021/09/14/2
Mailing ListPatchThird Party Advisory
https://www.kb.cert.org/vuls/id/794544
Third Party AdvisoryUS Government Resource
https://www.openwall.com/lists/oss-security/2021/01/26/3
ExploitMailing ListThird Party Advisory

Affected Products (39)

cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
cpe:2.3:a:sudo_project:sudo:1.9.5:-:*:*:*:*:*:*
cpe:2.3:a:sudo_project:sudo:1.9.5:patch1:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:oncommand_unified_manager_core_package:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:*
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
cpe:2.3:a:mcafee:web_gateway:8.2.17:*:*:*:*:*:*:*
cpe:2.3:a:mcafee:web_gateway:9.2.8:*:*:*:*:*:*:*
cpe:2.3:a:mcafee:web_gateway:10.0.4:*:*:*:*:*:*:*
cpe:2.3:a:synology:diskstation_manager_unified_controller:3.0:*:*:*:*:*:*:*
cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:*
cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:synology:skynas:-:*:*:*:*:*:*:*
cpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:*
cpe:2.3:h:synology:vs960hd:-:*:*:*:*:*:*:*
cpe:2.3:a:beyondtrust:privilege_management_for_mac:*:*:*:*:*:*:*:*
cpe:2.3:a:beyondtrust:privilege_management_for_unix\/linux:*:*:*:*:basic:*:*:*
cpe:2.3:o:oracle:micros_compact_workstation_3_firmware:310:*:*:*:*:*:*:*
cpe:2.3:h:oracle:micros_compact_workstation_3:-:*:*:*:*:*:*:*
cpe:2.3:o:oracle:micros_es400_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:oracle:micros_es400:-:*:*:*:*:*:*:*
cpe:2.3:o:oracle:micros_kitchen_display_system_firmware:210:*:*:*:*:*:*:*
cpe:2.3:h:oracle:micros_kitchen_display_system:-:*:*:*:*:*:*:*
cpe:2.3:o:oracle:micros_workstation_5a_firmware:5a:*:*:*:*:*:*:*
cpe:2.3:h:oracle:micros_workstation_5a:-:*:*:*:*:*:*:*
cpe:2.3:o:oracle:micros_workstation_6_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:oracle:micros_workstation_6:-:*:*:*:*:*:*:*
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*
cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*