CVE-2022-45868H2database H2
Alta 7.8
Seguir: esta CVE · H2database · H2database H2 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probabilidad de explotación en 30 días · percentil 16
- Requiere autenticación
- Sí
- Publicada
- 23 nov 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-312
- SSVC (CISA)
- Explotación: prueba de concepto · 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
The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local user (or an attacker that has obtained local access through some means) would be able to discover the password by listing processes and their arguments. NOTE: the vendor states "This is not a vulnerability of H2 Console ... Passwords should never be passed on the command line and every qualified DBA or system administrator is expected to know that." Nonetheless, the issue was fixed in 2.2.220.
Qué hacer
- Aplica la actualización de seguridad del fabricante para H2.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Maven | com.h2database:h2 |
≥ 1.4.198 < 2.2.220 |
2.2.220 |
— |
Según OSV / GitHub Advisories (GHSA-22wj-vf5f-wrvj). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| h2database | h2 | ≤ 2.1.214 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com
- github.com Third Party Advisory
- github.com
- github.com
- github.com
- sites.google.com Exploit Third Party Advisory