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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-03-06T19:07:08.491Z
Updated: 2024-08-02T00:27:59.959Z
Reserved: 2024-02-22T18:08:38.875Z
Link: CVE-2024-27304
Vulnrichment
Updated: 2024-08-02T00:27:59.959Z
NVD
Status : Awaiting Analysis
Published: 2024-03-06T19:15:08.767
Modified: 2024-11-21T09:04:17.247
Link: CVE-2024-27304
Redhat