CVE-2022-21724Postgresql 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
- 3.1% probabilidad de explotación en 30 días · percentil 89
- Requiere autenticación
- No
- Publicada
- 2 feb 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-665
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker control the jdbc url or properties. pgjdbc instantiates plugin instances based on class names provided via `authenticationPluginClassName`, `sslhostnameverifier`, `socketFactory`, `sslfactory`, `sslpasswordcallback` connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. Users using plugins are advised to upgrade. There are no known workarounds for this issue.
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 |
≥ 9.4.1208 < 42.2.25 |
42.2.25 |
— |
| Maven | org.postgresql:postgresql |
≥ 42.3.0 < 42.3.2 |
42.3.2 |
— |
Según OSV / GitHub Advisories (GHSA-v7wg-cpwc-24m4). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| postgresql | postgresql_jdbc_driver | < 42.2.25 |
| postgresql | postgresql_jdbc_driver | ≥ 42.3.0 < 42.3.2 |
| postgresql | postgresql_jdbc_driver | 42.3.2 |
| fedoraproject | fedora | 35 |
| quarkus | quarkus | < 2.7.2 |
| debian | debian_linux | 9.0 |
| 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 Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory