Amenazas en vivo

Todas las CVE / Jackc

CVE-2024-27289Jackc Pgx

Alta 8.1 Sin autenticación

Prioridad
64
CVSS 3.1
8.1
EPSS
1.2%
probabilidad de explotación en 30 días · percentil 67
Requiere autenticación
No
Publicada
6 mar 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-89
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.

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 Pgx.
  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
Go github.com/jackc/pgx < 4.18.2 4.18.2 go get github.com/jackc/pgx@v4.18.2
Go github.com/jackc/pgx todas sin versión corregida —
Go github.com/jackc/pgx/v4 < 4.18.2 4.18.2 go get github.com/jackc/pgx/v4@v4.18.2
Go github.com/jackc/pgx/v4 < 4.18.2 4.18.2 go get github.com/jackc/pgx/v4@v4.18.2

Según OSV / GitHub Advisories (GHSA-m7wr-2xf7-cm9p, GO-2024-2605). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
jackcpgx< 4.18.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.