Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-27304

30
FAUCET Score

CVE-2024-27304 is a critical SQL injection vulnerability affecting pgx, a PostgreSQL driver and toolkit for Go, and related pgproto3 projects. An integer overflow allows an attacker to manipulate large query or bind messages (exceeding 4 GB) into multiple messages, leading to SQL injection. With a CVSS score of 9.8 (CRITICAL), this vulnerability can be exploited remotely with low complexity, potentially leading to complete compromise of confidentiality, integrity, and availability. While there is no evidence of active exploitation or public exploit code, the vulnerability has garnered significant community discussion, indicating awareness and potential future exploitation.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.3.3CPE matchmatch criteria
cpe:2.3:a:jackc:pgproto3:*:*:*:*:*:go:*:*
< 4.18.2CPE matchmatch criteria
cpe:2.3:a:jackc:pgx:*:*:*:*:*:go:*:*
>= 5.0.0, < 5.5.4CPE matchmatch criteria
cpe:2.3:a:jackc:pgx:*:*:*:*:*:go:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.11%
Probability of exploitation in next 30 days
EPSS Percentile
62.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0111 is in the 48th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (51)

github_advisorypatch availablevia nvd_reference
View patch
gopatch availablevia ghsa
Product: github.com/jackc/pgx/v4Fixed in: 4.18.2
gopatch availablevia ghsa
Product: github.com/jackc/pgx/v5Fixed in: 5.5.4
gopatch availablevia ghsa
Product: github.com/jackc/pgxFixed in: 5.5.4
gopatch availablevia ghsa
Product: github.com/jackc/pgxFixed in: 4.18.2
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 ARMFixed in: 1.31.0-1
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 x64Fixed in: 1.31.0-1
microsoftpatch availablevia msrc
Product: azl3 telegraf 1.31.0-1 on Azure Linux 3.0Fixed in: 1.31.0-1
microsoftpatch availablevia msrc
Product: 17758-17084Fixed in: 1.31.0-1
microsoftpatch availablevia msrc
Product: azl3 telegraf 1.29.4-1 on Azure Linux 3.0Fixed in: 1.31.0-1
microsoftpatch availablevia msrc
Product: 18164-17084Fixed in: 1.31.0-1
microsoftpatch availablevia msrc
Product: cbl2 telegraf 1.28.5-5 on CBL Mariner 2.0Fixed in: 1.28.5-5
microsoftpatch availablevia msrc
Product: 17405-16823Fixed in: 1.28.5-5
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-rhel8-operator:4.3.5-3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-central-db-rhel8:4.3.5-3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-collector-rhel8:4.3.5-3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-collector-slim-rhel8:4.3.5-1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-main-rhel8:4.3.5-4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-operator-bundle:4.3.5-4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-roxctl-rhel8:4.3.5-3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-scanner-db-rhel8:4.3.5-3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.3.5-1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-scanner-rhel8:4.3.5-3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Advanced Cluster Security 4.3Fixed in: advanced-cluster-security/rhacs-scanner-slim-rhel8:4.3.5-3
View patch
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-agent-installer-api-server-rhel9
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform Assisted Installer 1Fixed in: rhai-tech-preview/assisted-installer-reporter-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform Assisted Installer 1Fixed in: rhai-tech-preview/assisted-installer-rhel8
redhatno patchvia redhat_api
Product: Red Hat Openshift Container Storage 4Fixed in: ocs4/cephcsi-rhel8
redhatno patchvia redhat_api
Product: Red Hat Openshift Container Storage 4Fixed in: ocs4/mcg-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat Openshift Container Storage 4Fixed in: ocs4/ocs-must-gather-rhel8
redhatno patchvia redhat_api
Product: Red Hat Openshift Container Storage 4Fixed in: ocs4/ocs-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Data Science (RHODS)Fixed in: rhods/odh-ml-pipelines-api-server-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Data Science (RHODS)Fixed in: rhods/odh-ml-pipelines-artifact-manager-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Data Science (RHODS)Fixed in: rhods/odh-ml-pipelines-cache-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Data Science (RHODS)Fixed in: rhods/odh-ml-pipelines-persistenceagent-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Data Science (RHODS)Fixed in: rhods/odh-ml-pipelines-scheduledworkflow-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Data Science (RHODS)Fixed in: rhods/odh-operator-base-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift on AWSFixed in: rosa
redhatno patchvia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-operator-rhel8
redhatno patchvia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-agent-installer-orchestrator-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-agent-installer-node-agent-rhel9
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-agent-installer-csr-approver-rhel9
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform Assisted Installer 1Fixed in: rhai-tech-preview/assisted-installer-agent-rhel8
redhatno patchvia redhat_api
Product: Red Hat Quay 3Fixed in: quay/clair-rhel8
redhatend of lifevia redhat_api
Product: Red Hat OpenStack Platform 16.2Fixed in: osp-director-provisioner-container
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: osbuild-composer
redhatend of lifevia redhat_api
Product: Red Hat Ansible Automation Platform 2Fixed in: aap-cloud-ui-container
redhatend of lifevia redhat_api
Product: Migration Toolkit for Applications 6Fixed in: mta/mta-windup-addon-rhel9
redhatend of lifevia redhat_api
Product: Migration Toolkit for Applications 6Fixed in: mta/mta-hub-rhel8
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: osbuild-composer

Vendor Advisories (4)

microsoft2024-Jun/CVE-2024-27304

CVE-2024-27304

Jun 11, 2024
microsoft2024-Mar/CVE-2024-27304Critical

pgx SQL Injection via Protocol Message Size Overflow

Mar 12, 2024
redhatCVE-2024-27304Moderate

pgx: SQL Injection via Protocol Message Size Overflow

Mar 6, 2024
goGHSA-mrww-27vc-gghvhigh

pgx SQL Injection via Protocol Message Size Overflow

Mar 4, 2024

References

github.com / jackc/pgproto3/commit/945c2126f6db8f3bea7eeebe307c01fe92bca007
Patch
github.com / jackc/pgproto3/security/advisories/GHSA-7jwh-3vrq-q3m8
Vendor Advisory
github.com / jackc/pgx/commit/adbb38f298c76e283ffc7c7a3f571036fea47fd4
Patch
github.com / jackc/pgx/commit/c543134753a0c5d22881c12404025724cb05ffd8
Patch
github.com / jackc/pgx/commit/f94eb0e2f96782042c96801b5ac448f44f0a81df
Patch
github.com / jackc/pgx/security/advisories/GHSA-mrww-27vc-gghv
Vendor Advisory
youtube.com / watch
Press/Media Coverage