GHSA-7jwh-3vrq-q3m8 – github.com/jackc/pgproto3
Package
Manager: go
Name: github.com/jackc/pgproto3
Vulnerable Version: >=0 <2.3.3
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS: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
EPSS: N/A pctlN/A
Details
pgproto3 SQL Injection via Protocol Message Size Overflow ### 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.
Metadata
Created: 2024-03-04T20:45:25Z
Modified: 2024-09-13T15:36:58Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-7jwh-3vrq-q3m8/GHSA-7jwh-3vrq-q3m8.json
CWE IDs: ["CWE-190", "CWE-89"]
Alternative ID: N/A
Finding: F297
Auto approve: 1