Amenazas en vivo

Todas las CVE / Libpq Project

CVE-2022-25852Libpq Project Libpq

Alta 7.5 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Libpq.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
libpq_projectlibpqtodas
pg-native_projectpg-nativetodas

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.

  • snyk.io Exploit Third Party Advisory
  • snyk.io Exploit Third Party Advisory