GO-2024-2606

SQL injection in github.com/jackc/pgproto3 and github.com/jackc/pgx

En bref

Publiée
Mise à jour
CVE
CVE-2024-27304
Alias
GHSA-7jwh-3vrq-q3m8, GHSA-mrww-27vc-gghv

Description

An integer overflow in the calculated message size of a query or bind message could allow a single large message to be sent as multiple messages under the attacker's control. This could lead to SQL injection if an attacker can cause a single query or bind message to exceed 4 GB in size.

Paquets affectés

PaquetVersions
Go · github.com/jackc/pgproto3/v2introduced 0, fixed 2.3.3
Go · github.com/jackc/pgxintroduced 0
Go · github.com/jackc/pgx/v4introduced 0, fixed 4.18.2
Go · github.com/jackc/pgx/v5introduced 5.0.0, fixed 5.5.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database