CVE-2021-42392H2database H2
Crítica 9.8 Sin autenticaciónEPSS alto
Seguir: esta CVE · H2database · H2database H2 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 82
- CVSS 3.1
- 9.8
- EPSS
- 83.2% probabilidad de explotación en 30 días · percentil 100
- Requiere autenticación
- No
- Publicada
- 10 ene 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution. This can be exploited through various attack vectors, most notably through the H2 Console which leads to unauthenticated remote code execution.
Qué hacer
- Aplica la actualización de seguridad del fabricante para H2.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | com.h2database:h2 |
≥ 1.1.100 < 2.0.206 |
2.0.206 |
— |
Según OSV / GitHub Advisories (GHSA-h376-j262-vhq6). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| h2database | h2 | ≥ 1.1.000 ≤ 2.0.204 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| oracle | communications_cloud_native_core_policy | 1.15.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Mitigation Third Party Advisory
- jfrog.com Exploit Technical Description Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.secpod.com