CVE-2021-45046Apache Log4j2
Ejecución remota de código en Apache Log4j2 por búsqueda JNDI incompleta
Crítica 9.0 KEVRansomware Sin autenticaciónEPSS alto
Seguir: esta CVE · Apache · Apache Log4j2 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 94
- CVSS 3.1
- 9.0
- EPSS
- 100.0% probabilidad de explotación en 30 días · percentil 100
- Requiere autenticación
- No
- En el KEV desde
- 1 may 2023
- Plazo de CISA
- 22 may 2023
- Uso en ransomware
- Confirmado
- Publicada
- 14 dic 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-917
- SSVC (CISA)
- Explotación: activa · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Qué pasa
Apache Log4j 2.0.1 a 2.12.1 y 2.13.0 a 2.15.0 son vulnerables a ejecución remota de código cuando se usan configuraciones no predeterminadas con Context Lookup o Thread Context Map. Un atacante con control sobre los datos de entrada del Thread Context Map puede inyectar patrones JNDI maliciosos para ejecutar código remoto o acceder a información sensible. CISA confirmó esta vulnerabilidad como explotada activamente.
Ver el texto original de NVD (en inglés)
It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.
Explotación confirmada por CISA
Apache Log4j2 contains a deserialization of untrusted data vulnerability due to the incomplete fix of CVE-2021-44228, where the Thread Context Lookup Pattern is vulnerable to remote code execution in certain non-default configurations.
Acción que pide CISA: Apply updates per vendor instructions.
Qué hacer
Hay parche · versiones corregidas: 2.12.2, 2.16.0
Actualiza Apache Log4j2 a versión 2.16.0 (Java 8) o 2.12.2 (Java 7) o superior. Estas versiones eliminan el soporte para patrones de búsqueda de mensajes y deshabilitan JNDI por defecto.
- Aplica la actualización de seguridad del fabricante para Log4j2.
- CISA la confirmó como explotada: trátala como urgente. El plazo para agencias federales de EE. UU. venció el 22 de mayo de 2023.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
- Revisa los registros en busca de señales de explotación previa.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | org.apache.logging.log4j:log4j-core |
≥ 2.13.0 < 2.16.0 |
2.16.0 |
— |
| Maven | org.apache.logging.log4j:log4j-core |
≥ 2.4.0 < 2.12.2 |
2.12.2 |
— |
| Maven | org.apache.logging.log4j:log4j-core |
< 2.3.1 |
2.3.1 |
— |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 |
≥ 1.8.0 < 1.9.2 |
1.9.2 |
— |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 |
≥ 1.10.0 < 1.10.8 |
1.10.8 |
— |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 |
≥ 1.11.0 < 1.11.11 |
1.11.11 |
— |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 |
≥ 2.0.0 < 2.0.12 |
2.0.12 |
— |
Según OSV / GitHub Advisories (GHSA-7rjr-3q55-vv33). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| apache | log4j | ≥ 2.0.1 < 2.12.2 |
| apache | log4j | ≥ 2.13.0 < 2.16.0 |
| apache | log4j | 2.0 |
| apache | log4j | 2.0 |
| apache | log4j | 2.0 |
| apache | log4j | 2.0 |
| cvat | computer_vision_annotation_tool | todas |
| intel | audio_development_kit | todas |
| intel | datacenter_manager | todas |
| intel | genomics_kernel_library | todas |
| intel | oneapi | todas |
| intel | secure_device_onboard | todas |
| intel | sensor_solution_firmware_development_kit | todas |
| intel | system_debugger | todas |
| intel | system_studio | todas |
| siemens | sppa-t3000_ses3000_firmware | todas |
| siemens | captial | < 2019.1 |
| siemens | captial | 2019.1 |
| siemens | captial | 2019.1 |
| siemens | comos | todas |
| siemens | desigo_cc_advanced_reports | 4.0 |
| siemens | desigo_cc_advanced_reports | 4.1 |
| siemens | desigo_cc_advanced_reports | 4.2 |
| siemens | desigo_cc_advanced_reports | 5.0 |
| siemens | desigo_cc_advanced_reports | 5.1 |
| siemens | desigo_cc_info_center | 5.0 |
| siemens | desigo_cc_info_center | 5.1 |
| siemens | e-car_operation_center | < 2021-12-13 |
| siemens | energy_engage | 3.1 |
| siemens | energyip | 8.5 |
| siemens | energyip | 8.6 |
| siemens | energyip | 8.7 |
| siemens | energyip | 9.0 |
| siemens | energyip_prepay | 3.7 |
| siemens | energyip_prepay | 3.8 |
| siemens | gma-manager | < 8.6.2j-398 |
| siemens | head-end_system_universal_device_integration_system | todas |
| siemens | industrial_edge_management | todas |
| siemens | industrial_edge_management_hub | < 2021-12-13 |
| siemens | logo!_soft_comfort | todas |
| siemens | mendix | todas |
| siemens | mindsphere | < 2021-12-11 |
| siemens | navigator | < 2021-12-13 |
| siemens | nx | todas |
| siemens | opcenter_intelligence | ≤ 3.2 |
| siemens | operation_scheduler | ≤ 1.1.3 |
| siemens | sentron_powermanager | 4.1 |
| siemens | sentron_powermanager | 4.2 |
| siemens | siguard_dsa | 4.2 |
| siemens | siguard_dsa | 4.3 |
| siemens | siguard_dsa | 4.4 |
| siemens | sipass_integrated | 2.80 |
| siemens | sipass_integrated | 2.85 |
| siemens | siveillance_command | ≤ 4.16.2.1 |
| siemens | siveillance_control_pro | todas |
| siemens | siveillance_identity | 1.5 |
| siemens | siveillance_identity | 1.6 |
| siemens | siveillance_vantage | todas |
| siemens | siveillance_viewpoint | todas |
| siemens | solid_edge_cam_pro | todas |
y 30 más en el JSON
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- www.openwall.com Mailing List Mitigation Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- cert-portal.siemens.com Third Party Advisory
- cert-portal.siemens.com Third Party Advisory
- cert-portal.siemens.com Third Party Advisory
- cert-portal.siemens.com Third Party Advisory
- lists.fedoraproject.org Mailing List Release Notes
- lists.fedoraproject.org Mailing List Release Notes
- logging.apache.org Mitigation Release Notes Vendor Advisory
- psirt.global.sonicwall.com Third Party Advisory
- security.gentoo.org Third Party Advisory
- tools.cisco.com Third Party Advisory
- www.cve.org Not Applicable
- www.debian.org Third Party Advisory
- www.intel.com Third Party Advisory
- www.kb.cert.org Third Party Advisory US Government Resource
- www.oracle.com Third Party Advisory
- www.oracle.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Third Party Advisory
- www.cisa.gov US Government Resource