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.
History

No history.

cve-icon 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

cve-icon Vulnrichment

Updated: 2024-08-02T00:27:59.959Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-06T19:15:08.767

Modified: 2024-11-21T09:04:17.247

Link: CVE-2024-27304

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-03-06T00:00:00Z

Links: CVE-2024-27304 - Bugzilla