CVE-2021-3156

HighActively exploited (CISA KEV)

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductSudo
PublishedJan 26, 2021
First seenJan 26, 2021
Added to KEVApr 6, 2022
Weakness typeCWE-193CWE-193

How to fix

Affected products

ProductAffected versionsFixed in
sudo_project sudo1.8.2 ≤ v < 1.8.32, 1.9.0 ≤ v < 1.9.5, 1.9.51.8.32, 1.9.5
fedoraproject fedora32, 33—
debian debian_linux9.0, 10.0—
netapp active_iq_unified_managerNo range specified—
netapp cloud_backupNo range specified—
netapp hci_management_nodeNo range specified—
netapp oncommand_unified_manager_core_packageNo range specified—
netapp ontap_select_deploy_administration_utilityNo range specified—
netapp ontap_tools9—
netapp solidfireNo range specified—
mcafee web_gateway8.2.17, 9.2.8, 10.0.4—
synology diskstation_manager_unified_controller3.0—
synology diskstation_manager6.2—
synology skynas_firmwareNo range specified—
synology vs960hd_firmwareNo range specified—
beyondtrust privilege_management_for_macv < 21.1.121.1.1
beyondtrust privilege_management_for_unix\/linuxv < 10.3.2-1010.3.2-10
oracle micros_compact_workstation_3_firmware310—
oracle micros_es400_firmware400 ≤ v ≤ 410—
oracle micros_kitchen_display_system_firmware210—
oracle micros_workstation_5a_firmware5a—
oracle micros_workstation_6_firmware610 ≤ v ≤ 655—
oracle communications_performance_intelligence_center10.3.0.0.0 ≤ v ≤ 10.3.0.2.1, 10.4.0.1.0 ≤ v ≤ 10.4.0.3.1—
oracle tekelec_platform_distribution7.4.0 ≤ v ≤ 7.7.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.