CVE-2024-27304 — Vulnerability in github.com/jackc/pgproto3 — CVE...
pgproto3 SQL Injection via Protocol Message Size Overflow
Summary
Advisory Timeline
- First published March 4, 2024 (952 days ago).
- Last revised September 10, 2026 — 919 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/jackc/pgproto3@v2.3.3
go get github.com/jackc/pgproto3/v2@v2.3.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: go (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/jackc/pgproto3 | go | All versions | 2.3.3 |
| github.com/jackc/pgproto3/v2 | go | All versions | 2.3.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8WEB
- https://github.com/jackc/pgx/security/advisories/GHSA-mrww-27vc-gghvWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27304ADVISORY
- https://github.com/jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007WEB
- https://github.com/jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4WEB
- https://github.com/jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8WEB
- https://github.com/jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81dfWEB
- https://github.com/jackc/pgproto3PACKAGE
Frequently Asked Questions
- What is CVE-2024-27304?
- pgproto3 SQL Injection via Protocol Message Size Overflow This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-27304?
- CVE-2024-27304 affects github.com/jackc/pgproto3 and github.com/jackc/pgproto3/v2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-27304 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-33816CRITICAL
Memory-safety vulnerability in github.com/jackc/pgx/v5.
- CVE-2026-33815CRITICAL
pgx contains memory-safety vulnerability
- CVE-2026-107809HIGH
Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
- CVE-2026-107813HIGH
Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies