CVE
CVE-2021-3156
Beyondtrust · Privilege management for mac; Beyondtrust · Privilege management for unix/linux; +22 more
- First Reported
- Feb 2, 2021
- Latest Reported
- Sep 8, 2026
CVE Enrichment
- CVSS
- 7.8 HIGH
- EPSS
- 99.96%
- EPSS Percentile
- 99.98%
- CISA KEV
- YES — Known Exploited Vulnerability
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.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 27-Jan-2021 04:15
- Last Modified
- 17-Jun-2026 11:04
- EPSS Date
- 2026-11-10
- CWE
- CWE-193
CVSS Vector
CVSS:3.1 AV:L /
AC:L /
PR:L /
UI:N /
S:U /
C:H /
I:H /
A:H
CISA KEV Details
- Date Added
- 2022-04-06
- Remediation Due
- 2022-04-27
- Known Ransomware Campaign Use
- Unknown
- Required Action
- Apply updates per vendor instructions.
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2021-3156
CNA Products / Version Status
- n/a · n/a
Source: CNA · [email protected]
Default status: unknown
n/a — affected
Affected Products / Versions
- sudo_project / sudo
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 1.8.2 · before (exclusive) 1.8.32
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* - sudo_project / sudo
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 1.9.0 · before (exclusive) 1.9.5
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* - sudo_project / sudo
Source: NVD CPE · affected
Version / affected range: 1.9.5
cpe:2.3:a:sudo_project:sudo:1.9.5:-:*:*:*:*:*:* - sudo_project / sudo
Source: NVD CPE · affected
Version / affected range: 1.9.5
cpe:2.3:a:sudo_project:sudo:1.9.5:patch1:*:*:*:*:*:* - fedoraproject / fedora
Source: NVD CPE · affected
Version / affected range: 32
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* - fedoraproject / fedora
Source: NVD CPE · affected
Version / affected range: 33
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* - debian / debian_linux
Source: NVD CPE · affected
Version / affected range: 9.0
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* - debian / debian_linux
Source: NVD CPE · affected
Version / affected range: 10.0
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* - netapp / active_iq_unified_manager
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* - netapp / cloud_backup
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* - netapp / hci_management_node
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* - netapp / oncommand_unified_manager_core_package
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:a:netapp:oncommand_unified_manager_core_package:-:*:*:*:*:*:*:* - netapp / ontap_select_deploy_administration_utility
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* - netapp / ontap_tools
Source: NVD CPE · affected
Version / affected range: 9
cpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:* - netapp / solidfire
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* - mcafee / web_gateway
Source: NVD CPE · affected
Version / affected range: 8.2.17
cpe:2.3:a:mcafee:web_gateway:8.2.17:*:*:*:*:*:*:* - mcafee / web_gateway
Source: NVD CPE · affected
Version / affected range: 9.2.8
cpe:2.3:a:mcafee:web_gateway:9.2.8:*:*:*:*:*:*:* - mcafee / web_gateway
Source: NVD CPE · affected
Version / affected range: 10.0.4
cpe:2.3:a:mcafee:web_gateway:10.0.4:*:*:*:*:*:*:* - synology / diskstation_manager_unified_controller
Source: NVD CPE · affected
Version / affected range: 3.0
cpe:2.3:a:synology:diskstation_manager_unified_controller:3.0:*:*:*:*:*:*:* - synology / diskstation_manager
Source: NVD CPE · affected
Version / affected range: 6.2
cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:* - synology / skynas_firmware
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:* - synology / vs960hd_firmware
Source: NVD CPE · affected
Version / affected range: -
cpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:* - beyondtrust / privilege_management_for_mac
Source: NVD CPE · affected
Version / affected range: * · before (exclusive) 21.1.1
cpe:2.3:a:beyondtrust:privilege_management_for_mac:*:*:*:*:*:*:*:* - beyondtrust / privilege_management_for_unix\/linux
Source: NVD CPE · affected
Version / affected range: * · before (exclusive) 10.3.2-10
cpe:2.3:a:beyondtrust:privilege_management_for_unix\/linux:*:*:*:*:basic:*:*:* - oracle / micros_compact_workstation_3_firmware
Source: NVD CPE · affected
Version / affected range: 310
cpe:2.3:o:oracle:micros_compact_workstation_3_firmware:310:*:*:*:*:*:*:* - oracle / micros_es400_firmware
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 400 · through (inclusive) 410
cpe:2.3:o:oracle:micros_es400_firmware:*:*:*:*:*:*:*:* - oracle / micros_kitchen_display_system_firmware
Source: NVD CPE · affected
Version / affected range: 210
cpe:2.3:o:oracle:micros_kitchen_display_system_firmware:210:*:*:*:*:*:*:* - oracle / micros_workstation_5a_firmware
Source: NVD CPE · affected
Version / affected range: 5a
cpe:2.3:o:oracle:micros_workstation_5a_firmware:5a:*:*:*:*:*:*:* - oracle / micros_workstation_6_firmware
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 610 · through (inclusive) 655
cpe:2.3:o:oracle:micros_workstation_6_firmware:*:*:*:*:*:*:*:* - oracle / communications_performance_intelligence_center
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 10.3.0.0.0 · through (inclusive) 10.3.0.2.1
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:* - oracle / communications_performance_intelligence_center
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 10.4.0.1.0 · through (inclusive) 10.4.0.3.1
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:* - oracle / tekelec_platform_distribution
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 7.4.0 · through (inclusive) 7.7.1
cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*
References
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- [email protected]
- CISA Advisory
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (5)
- CVE-2021-3156 Recorded Future Identifies 73 High-Impact Vulnerabilities in August, 70 Actively Exploited
- CVE-2021-3156 Recorded Future Identifies 85 High-Impact Vulnerabilities in July, Many Actively Exploited
- The operator staged code for multiple known exploits: CVE-2021-4034 (PwnKit), CVE-2021-3156 (sudo), CVE-2017-7269 (IIS WebDAV). Unattended Hermes AI Agent Used in Targeting of Thailand Finance Ministry, Researchers Find
- linux-exploit-suggester and matches the kernel against known CVEs, surfacing candidates such as CVE-2021-3156 (the Sudo “Baron Samedit” heap overflow) and CVE-2021-22555 (a Netfilter heap out-of-bounds write), Penelope Walkthrough Demonstrates Cross-Platform Post-Exploitation Workflows
- A newly discovered high severity vulnerability (CVE-2021-3156) in the sudo package allows privilege escalation from any user to root without any authentication. The package sudo is a near universal utility across Linux CVE-2021-3156 in sudo Can Let Local Users Escalate to Root
CVE (147)
Malware (10)
People (1)
Threat Actors (9)
MITRE ATT&CK (23)
Vendors (41)
Products (90)
Tools (22)
Industries (1)
Countries (4)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
