CVE-2024-27304
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.
Published:Mar 6, 2024
Last Modified:May 21, 2026
EPS:Mar 6, 2024
EPSS Score:0.01875
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Jackc
Product
Pgproto3
Jackc
Pgproto3
Vendor
Jackc
Product
Pgx
Jackc
Pgx
Vendor
Redhat
Product
Advanced Cluster Security
Redhat
Advanced Cluster Security
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
