Security mailing lists by PureSourceCode

CVE-2021-3156

HIGH 7.8CVSS 3.1known exploited

Sudo Heap-Based Buffer Overflow Vulnerability

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
26 Jan 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-122CWE-193
Sources
NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 6 Apr 2022; US federal agencies must fix it by 27 Apr 2022.
Apply updates per vendor instructions.

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sudo_project sudo
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
>= 1.8.2, < 1.8.32 1.8.32
NVD sudo_project sudo
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
>= 1.9.0, < 1.9.5 1.9.5
NVD sudo_project sudo
cpe:2.3:a:sudo_project:sudo:1.9.5:-:*:*:*:*:*:*
= 1.9.5
NVD sudo_project sudo
cpe:2.3:a:sudo_project:sudo:1.9.5:patch1:*:*:*:*:*:*
= 1.9.5
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD netapp active_iq_unified_manager
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
(no version)
NVD netapp cloud_backup
cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*
(no version)
NVD netapp hci_management_node
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*
(no version)
NVD netapp oncommand_unified_manager_core_package
cpe:2.3:a:netapp:oncommand_unified_manager_core_package:-:*:*:*:*:*:*:*
(no version)
NVD netapp ontap_select_deploy_administration_utility
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
(no version)
NVD netapp ontap_tools
cpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:*
= 9
NVD netapp solidfire
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
(no version)
NVD mcafee web_gateway
cpe:2.3:a:mcafee:web_gateway:8.2.17:*:*:*:*:*:*:*
= 8.2.17
NVD mcafee web_gateway
cpe:2.3:a:mcafee:web_gateway:9.2.8:*:*:*:*:*:*:*
= 9.2.8
NVD mcafee web_gateway
cpe:2.3:a:mcafee:web_gateway:10.0.4:*:*:*:*:*:*:*
= 10.0.4
NVD synology diskstation_manager_unified_controller
cpe:2.3:a:synology:diskstation_manager_unified_controller:3.0:*:*:*:*:*:*:*
= 3.0
NVD synology diskstation_manager
cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:*
= 6.2
NVD synology skynas_firmware
cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:*
(no version)
NVD synology vs960hd_firmware
cpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:*
(no version)
NVD beyondtrust privilege_management_for_mac
cpe:2.3:a:beyondtrust:privilege_management_for_mac:*:*:*:*:*:*:*:*
< 21.1.1 21.1.1
NVD beyondtrust privilege_management_for_unix/linux
cpe:2.3:a:beyondtrust:privilege_management_for_unix\/linux:*:*:*:*:basic:*:*:*
< 10.3.2-10 10.3.2-10
NVD oracle micros_compact_workstation_3_firmware
cpe:2.3:o:oracle:micros_compact_workstation_3_firmware:310:*:*:*:*:*:*:*
= 310
NVD oracle micros_es400_firmware
cpe:2.3:o:oracle:micros_es400_firmware:*:*:*:*:*:*:*:*
>= 400, <= 410
NVD oracle micros_kitchen_display_system_firmware
cpe:2.3:o:oracle:micros_kitchen_display_system_firmware:210:*:*:*:*:*:*:*
= 210
NVD oracle micros_workstation_5a_firmware
cpe:2.3:o:oracle:micros_workstation_5a_firmware:5a:*:*:*:*:*:*:*
= 5a
NVD oracle micros_workstation_6_firmware
cpe:2.3:o:oracle:micros_workstation_6_firmware:*:*:*:*:*:*:*:*
>= 610, <= 655
NVD oracle communications_performance_intelligence_center
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*
>= 10.3.0.0.0, <= 10.3.0.2.1
NVD oracle communications_performance_intelligence_center
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*
>= 10.4.0.1.0, <= 10.4.0.3.1
NVD oracle tekelec_platform_distribution
cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*
>= 7.4.0, <= 7.7.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Jan 2021)
  • 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 6 Apr 2022)
  • 6 Apr 2022 00:00 UTC · Listed as known exploited
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.