CVE-2021-3156Sudo
Desbordamiento de búfer en heap en Sudo por error off-by-one
Alta 7.8 KEV EPSS alto
Seguir: esta CVE · Sudo · Sudo Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 57
- CVSS 3.1
- 7.8
- EPSS
- 100.0% probabilidad de explotación en 30 días · percentil 100
- Requiere autenticación
- Sí
- En el KEV desde
- 6 abr 2022
- Plazo de CISA
- 27 abr 2022
- Uso en ransomware
- Sin datos
- Publicada
- 26 ene 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-193
- SSVC (CISA)
- Explotación: activa · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Qué pasa
Sudo anterior a 1.9.5p2 contiene un error off-by-one que permite un desbordamiento de búfer en heap. Un atacante autenticado puede escalar privilegios a root ejecutando "sudoedit -s" con un argumento de línea de comandos que termina en una barra invertida. CISA confirmó esta vulnerabilidad como explotada activamente.
Ver el texto original de NVD (en inglés)
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.
Explotación confirmada por CISA
Sudo contains an off-by-one error that can result in a heap-based buffer overflow, which allows for privilege escalation.
Acción que pide CISA: Apply updates per vendor instructions.
Qué hacer
Hay parche · versiones corregidas: 1.8.32, 1.9.5p2
Actualiza Sudo a versión 1.8.32, 1.9.5p2 o posterior según tu rama de versión.
- Aplica la actualización de seguridad del fabricante para Sudo.
- CISA la confirmó como explotada: trátala como urgente. El plazo para agencias federales de EE. UU. venció el 27 de abril de 2022.
- Revisa los registros en busca de señales de explotación previa.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| sudo_project | sudo | ≥ 1.8.2 < 1.8.32 |
| sudo_project | sudo | ≥ 1.9.0 < 1.9.5 |
| sudo_project | sudo | 1.9.5 |
| sudo_project | sudo | 1.9.5 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| netapp | active_iq_unified_manager | todas |
| netapp | cloud_backup | todas |
| netapp | hci_management_node | todas |
| netapp | oncommand_unified_manager_core_package | todas |
| netapp | ontap_select_deploy_administration_utility | todas |
| netapp | ontap_tools | 9 |
| netapp | solidfire | todas |
| mcafee | web_gateway | 8.2.17 |
| mcafee | web_gateway | 9.2.8 |
| mcafee | web_gateway | 10.0.4 |
| synology | diskstation_manager_unified_controller | 3.0 |
| synology | diskstation_manager | 6.2 |
| synology | skynas_firmware | todas |
| synology | vs960hd_firmware | todas |
| beyondtrust | privilege_management_for_mac | < 21.1.1 |
| beyondtrust | privilege_management_for_unix/linux | < 10.3.2-10 |
| oracle | micros_compact_workstation_3_firmware | 310 |
| oracle | micros_es400_firmware | ≥ 400 ≤ 410 |
| oracle | micros_kitchen_display_system_firmware | 210 |
| oracle | micros_workstation_5a_firmware | 5a |
| oracle | micros_workstation_6_firmware | ≥ 610 ≤ 655 |
| oracle | communications_performance_intelligence_center | ≥ 10.3.0.0.0 ≤ 10.3.0.2.1 |
| oracle | communications_performance_intelligence_center | ≥ 10.4.0.1.0 ≤ 10.4.0.3.1 |
| oracle | tekelec_platform_distribution | ≥ 7.4.0 ≤ 7.7.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- seclists.org Mailing List Third Party Advisory
- seclists.org Exploit Mailing List Third Party Advisory
- seclists.org Exploit Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Exploit Mailing List
- www.openwall.com Mailing List
- kc.mcafee.com Broken Link Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Release Notes
- lists.fedoraproject.org Mailing List Release Notes
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- security.netapp.com Third Party Advisory
- support.apple.com Third Party Advisory
- tools.cisco.com Third Party Advisory
- www.beyondtrust.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.kb.cert.org Third Party Advisory US Government Resource
- www.openwall.com Exploit Mailing List Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.sudo.ws Release Notes
- www.synology.com Third Party Advisory
- www.vicarius.io Exploit Third Party Advisory
- www.cisa.gov US Government Resource