CVE-2024-27304

golang-github-jackc-pgconn: pgx is a PostgreSQL driver and toolkit for Go

CVE-2024-27304 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2024-27304, released March 6, 2024. It is not reported as exploited. Patch Radar priority: Urgent.

Urgent
CVSS
9.8
critical
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0111
66th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
golang-github-jackc-pgconn · Debian 14 1.14.3-1 DEBIAN-CVE-2024-27304 Mar 6, 2024
golang-github-jackc-pgx · Debian 13.5 (trixie) 4.18.1-2 DEBIAN-CVE-2024-27304 Mar 6, 2024
golang-github-jackc-pgx · Debian 14 4.18.1-2 DEBIAN-CVE-2024-27304 Mar 6, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.