CVE-2022-25852Libpq Project Libpq
Alta 7.5 Sin autenticación
Seguir: esta CVE · Libpq Project · Libpq Project Libpq Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probabilidad de explotación en 30 días · percentil 70
- Requiere autenticación
- No
- Publicada
- 17 jun 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-704
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
All versions of package pg-native; all versions of package libpq are vulnerable to Denial of Service (DoS) when the addons attempt to cast the second argument to an array and fail. This happens for every non-array argument passed. **Note:** pg-native is a mere binding to npm's libpq library, which in turn has the addons and bindings to the actual C libpq library. This means that problems found in pg-native may transitively impact npm's libpq.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Libpq.
- 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 |
|---|---|---|---|---|
| npm | libpq |
< 1.8.10 |
1.8.10 |
npm install libpq@1.8.10 |
| npm | pg-native |
< 3.0.1 |
3.0.1 |
npm install pg-native@3.0.1 |
Según OSV / GitHub Advisories (GHSA-j32j-2hxv-rqf7). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| libpq_project | libpq | todas |
| pg-native_project | pg-native | todas |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.