CVE-2022-26520Postgresql Jdbc Driver
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Postgresql · Postgresql Jdbc Driver Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.7% probabilidad de explotación en 30 días · percentil 87
- Requiere autenticación
- No
- Publicada
- 10 mar 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: the vendor's position is that there is no pgjdbc vulnerability; instead, it is a vulnerability for any application to use the pgjdbc driver with untrusted connection properties
Qué hacer
- Aplica la actualización de seguridad del fabricante para Postgresql Jdbc Driver.
- 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 | org.postgresql:postgresql |
≥ 42.1.0 < 42.3.3 |
42.3.3 |
— |
| Maven | org.postgresql:postgresql |
≥ 42.1.0 < 42.3.3 |
42.3.3 |
— |
Según OSV / GitHub Advisories (GHSA-673j-qm5f-xpv8, GHSA-727h-hrw8-jg8q). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| postgresql | postgresql_jdbc_driver | ≥ 42.1.0 ≤ 42.1.4 |
| postgresql | postgresql_jdbc_driver | ≥ 42.3.0 < 42.3.3 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- jdbc.postgresql.org Release Notes Vendor Advisory
- jdbc.postgresql.org Vendor Advisory
- www.debian.org Third Party Advisory