CVE-2024-27304

CRITICAL9.8EPSS 1.9%

pgproto3 SQL Injection via Protocol Message Size Overflow

Published: 3/4/2024Modified: 2/4/2026
Also known as:GHSA-7jwh-3vrq-q3m8GHSA-mrww-27vc-gghvCGA-3c9g-45p3-h9m3GO-2024-2606

Description

### Impact 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. ### Patches The problem is resolved in v2.3.3 ### Workarounds Reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

Affected packages (11)

CVSS scores

SourceVersionSeverityVector
osvCVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (11)