CVE-2024-27304Jackc Pgproto3
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Jackc · Jackc Pgproto3 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.5% probabilidad de explotación en 30 días · percentil 74
- Requiere autenticación
- No
- Publicada
- 6 mar 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pgproto3.
- 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 |
|---|---|---|---|---|
| Go | github.com/jackc/pgproto3 |
< 2.3.3 |
2.3.3 |
go get github.com/jackc/pgproto3@v2.3.3 |
| Go | github.com/jackc/pgproto3/v2 |
< 2.3.3 |
2.3.3 |
go get github.com/jackc/pgproto3/v2@v2.3.3 |
| Go | github.com/jackc/pgproto3/v2 |
< 2.3.3 |
2.3.3 |
go get github.com/jackc/pgproto3/v2@v2.3.3 |
| 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 |
≥ 5.0.0 < 5.5.4 |
5.5.4 |
go get github.com/jackc/pgx@v5.5.4 |
| 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 |
| Go | github.com/jackc/pgx/v5 |
≥ 5.0.0 < 5.5.4 |
5.5.4 |
go get github.com/jackc/pgx/v5@v5.5.4 |
| Go | github.com/jackc/pgx/v5 |
≥ 5.0.0 < 5.5.4 |
5.5.4 |
go get github.com/jackc/pgx/v5@v5.5.4 |
Según OSV / GitHub Advisories (GHSA-7jwh-3vrq-q3m8, GO-2024-2606, GHSA-mrww-27vc-gghv). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| jackc | pgproto3 | < 2.3.3 |
| jackc | pgx | < 4.18.2 |
| jackc | pgx | ≥ 5.0.0 < 5.5.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Vendor Advisory
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- www.youtube.com Press/Media Coverage