CVE-2021-3156 (CNNVD-202101-2221)
HIGH
有利用代码
中文标题:
Sudo 缓冲区错误漏洞
英文标题:
Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, wh...
CVSS分数:
7.8
发布时间:
2021-01-26 00:00:00
漏洞类型:
缓冲区错误
状态:
PUBLISHED
数据质量分数:
0.30
数据版本:
v5
漏洞描述
中文描述:
Sudo是一款使用于类Unix系统的,允许用户通过安全的方式使用特殊的权限执行命令的程序。 Sudo 1.9.5p2 之前版本存在缓冲区错误漏洞,攻击者可使用sudoedit -s和一个以单个反斜杠字符结束的命令行参数升级到root。
英文描述:
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.
CWE类型:
CWE-193
标签:
local
multiple
West Shepherd
nu11secur1ty
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| sudo_project | sudo | * | - | - |
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
|
| sudo_project | sudo | 1.9.5 | - | - |
cpe:2.3:a:sudo_project:sudo:1.9.5:-:*:*:*:*:*:*
|
| fedoraproject | fedora | 32 | - | - |
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
|
| fedoraproject | fedora | 33 | - | - |
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
|
| debian | debian_linux | 9.0 | - | - |
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
|
| debian | debian_linux | 10.0 | - | - |
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 | 9 | - | - |
cpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:*
|
| netapp | solidfire | - | - | - |
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
|
| mcafee | web_gateway | 8.2.17 | - | - |
cpe:2.3:a:mcafee:web_gateway:8.2.17:*:*:*:*:*:*:*
|
| mcafee | web_gateway | 9.2.8 | - | - |
cpe:2.3:a:mcafee:web_gateway:9.2.8:*:*:*:*:*:*:*
|
| mcafee | web_gateway | 10.0.4 | - | - |
cpe:2.3:a:mcafee:web_gateway:10.0.4:*:*:*:*:*:*:*
|
| synology | diskstation_manager_unified_controller | 3.0 | - | - |
cpe:2.3:a:synology:diskstation_manager_unified_controller:3.0:*:*:*:*:*:*:*
|
| synology | diskstation_manager | 6.2 | - | - |
cpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:*
|
| synology | skynas_firmware | - | - | - |
cpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:*
|
| synology | vs960hd_firmware | - | - | - |
cpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:*
|
| beyondtrust | privilege_management_for_mac | * | - | - |
cpe:2.3:a:beyondtrust:privilege_management_for_mac:*:*:*:*:*:*:*:*
|
| beyondtrust | privilege_management_for_unix\/linux | * | - | - |
cpe:2.3:a:beyondtrust:privilege_management_for_unix\/linux:*:*:*:*:basic:*:*:*
|
| oracle | micros_compact_workstation_3_firmware | 310 | - | - |
cpe:2.3:o:oracle:micros_compact_workstation_3_firmware:310:*:*:*:*:*:*:*
|
| oracle | micros_es400_firmware | * | - | - |
cpe:2.3:o:oracle:micros_es400_firmware:*:*:*:*:*:*:*:*
|
| oracle | micros_kitchen_display_system_firmware | 210 | - | - |
cpe:2.3:o:oracle:micros_kitchen_display_system_firmware:210:*:*:*:*:*:*:*
|
| oracle | micros_workstation_5a_firmware | 5a | - | - |
cpe:2.3:o:oracle:micros_workstation_5a_firmware:5a:*:*:*:*:*:*:*
|
| oracle | micros_workstation_6_firmware | * | - | - |
cpe:2.3:o:oracle:micros_workstation_6_firmware:*:*:*:*:*:*:*:*
|
| oracle | communications_performance_intelligence_center | * | - | - |
cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*
|
| oracle | tekelec_platform_distribution | * | - | - |
cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
[debian-lts-announce] 20210126 [SECURITY] [DLA 2534-1] sudo security update
mailing-list
cve.org
访问
cve.org
20210126 Baron Samedit: Heap-based buffer overflow in Sudo (CVE-2021-3156)
mailing-list
cve.org
访问
cve.org
[oss-security] 20210126 Baron Samedit: Heap-based buffer overflow in Sudo (CVE-2021-3156)
mailing-list
cve.org
访问
cve.org
GLSA-202101-33
vendor-advisory
cve.org
访问
cve.org
DSA-4839
vendor-advisory
cve.org
访问
cve.org
FEDORA-2021-2cb63d912a
vendor-advisory
cve.org
访问
cve.org
FEDORA-2021-8840cbdccd
vendor-advisory
cve.org
访问
cve.org
[oss-security] 20210127 Re: Baron Samedit: Heap-based buffer overflow in Sudo (CVE-2021-3156)
mailing-list
cve.org
访问
cve.org
[oss-security] 20210127 Re: Baron Samedit: Heap-based buffer overflow in Sudo (CVE-2021-3156)
mailing-list
cve.org
访问
cve.org
20210129 Sudo Privilege Escalation Vulnerability Affecting Cisco Products: January 2021
vendor-advisory
cve.org
访问
cve.org
VU#794544
third-party-advisory
cve.org
访问
cve.org
20210211 APPLE-SA-2021-02-09-1 macOS Big Sur 11.2.1, macOS Catalina 10.15.7 Supplemental Update, and macOS Mojave 10.14.6 Security Update 2021-002
mailing-list
cve.org
访问
cve.org
[oss-security] 20210215 Re: sudo: Ineffective NO_ROOT_MAILER and Baron Samedit
mailing-list
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
[oss-security] 20210914 Re: Oracle Solaris membership in the distros list
mailing-list
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
[oss-security] 20240130 Re: CVE-2023-6246: Heap-based buffer overflow in the glibc's syslog()
mailing-list
cve.org
访问
cve.org
[oss-security] 20240130 CVE-2023-6246: Heap-based buffer overflow in the glibc's syslog()
mailing-list
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
20240204 CVE-2023-6246: Heap-based buffer overflow in the glibc's syslog()
mailing-list
cve.org
访问
cve.org
无标题
OTHER
cve.org
访问
cve.org
134c704f-9b21-4f2e-91b3-4a467353bcc0
OTHER
nvd.nist.gov
访问
nvd.nist.gov
ExploitDB EDB-49521
EXPLOIT
exploitdb
访问
exploitdb
Download Exploit EDB-49521
EXPLOIT
exploitdb
访问
exploitdb
CVE Reference: CVE-2021-3156
ADVISORY
cve.org
访问
cve.org
ExploitDB EDB-49522
EXPLOIT
exploitdb
访问
exploitdb
Download Exploit EDB-49522
EXPLOIT
exploitdb
访问
exploitdb
CVSS评分详情
3.1 (adp)
HIGH
7.8
CVSS向量:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2021-01-26 00:00:00
修改时间:
2025-10-21 23:35:29
创建时间:
2025-11-11 15:36:51
更新时间:
2025-11-11 16:57:02
利用信息
此漏洞有可利用代码!
利用代码数量:
2
利用来源:
未知
未知
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2021-3156 |
2025-11-11 15:21:04 | 2025-11-11 07:36:51 |
| NVD | nvd_CVE-2021-3156 |
2025-11-11 14:57:33 | 2025-11-11 07:45:10 |
| CNNVD | cnnvd_CNNVD-202101-2221 |
2025-11-11 15:10:34 | 2025-11-11 07:56:35 |
| EXPLOITDB | exploitdb_EDB-49521 |
2025-11-11 15:05:27 | 2025-11-11 08:57:02 |
| EXPLOITDB | exploitdb_EDB-49522 |
2025-11-11 15:05:27 | 2025-11-11 08:57:02 |
版本与语言
当前版本:
v5
主要语言:
EN
支持语言:
EN
ZH
其他标识符:
:
:
:
:
安全公告
暂无安全公告信息
变更历史
v5
EXPLOITDB
2025-11-11 16:57:02
references_count: 38 → 40; tags_count: 3 → 4
查看详细变更
- references_count: 38 -> 40
- tags_count: 3 -> 4
v4
EXPLOITDB
2025-11-11 16:57:02
references_count: 35 → 38; tags_count: 0 → 3; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- references_count: 35 -> 38
- tags_count: 0 -> 3
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3
CNNVD
2025-11-11 15:56:35
vulnerability_type: 未提取 → 缓冲区错误; cnnvd_id: 未提取 → CNNVD-202101-2221; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 缓冲区错误
- cnnvd_id: 未提取 -> CNNVD-202101-2221
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2
NVD
2025-11-11 15:45:10
affected_products_count: 0 → 29; references_count: 34 → 35; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
- affected_products_count: 0 -> 29
- references_count: 34 -> 35
- data_sources: ['cve'] -> ['cve', 'nvd']