9.8

CVE-2024-27304: jackc pgproto3 SQL Injection

CVSS: 9.8v3.1CriticalAnalyzed
AliasesUBUNTU-CVE-2024-27304DEBIAN-CVE-2024-27304CGA-2frh-r4hx-jwv6
Published 06-03-2024Last modified 12-12-2024

Vulnerability summary

CVE-2024-27304 is a critical (CVSS 9.8) SQL Injection vulnerability in jackc pgproto3. EPSS estimates a 1.11% chance of exploitation in the next 30 days, higher than 65.3% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.11%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 34

Timeline

  1. 06-03-2024
    PublishedVulnerability first disclosed.
  2. 12-12-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 7 sources · 2 versions

EPSS trend

Probability

1.11%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

0.00 pp

From 1.11% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.11%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard43 products
  • amass< 4.2.0-r8
  • argo-workflows< 3.5.5-r3
  • argo-workflows-fips< 3.5.5-r2
  • caddy< 2.7.6-r4
  • caddy-fips< 2.7.6-r1
Wolfi25 products
  • amass< 4.2.0-r8
  • argo-workflows< 3.5.5-r3
  • caddy< 2.7.6-r4
  • ferretdb< 1.20.1-r3
  • k3s< 1.29.2-r3
Debian2 products
  • golang-github-jackc-pgconnAll versions (No fix recorded) | < 1.14.3-1
  • golang-github-jackc-pgxAll versions (No fix recorded) | < 4.18.1-2
Github.com/jackc2 products
  • pgproto3< 2.3.3
  • pgx< 4.18.2 | ≥ 5.0.0, < 5.5.4 | All versions (No fix recorded)
Github.com/jackc/pgx2 products
  • v4< 4.18.2
  • v5≥ 5.0.0, < 5.5.4
Jackc2 products
Ubuntu2 products
  • golang-github-jackc-pgproto3All versions (No fix recorded)
  • golang-github-jackc-pgxAll versions (No fix recorded)
Github.com/jackc/pgproto31 product
  • v2< 2.3.3

8 vendors · 79 products

References

14 links
Show all 14 references