> CVE-2024-27304 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2024-03-06 19:15
MODIFIED
2024-12-12 21:15
CVSS_SCORE V3
9.8
EPSS (Prob. Exploit)
1.11%
Top 33.6%
DATA SOURCES:
NVD đź”— 2025-10-18 CVE PROJECT đź”— 2026-01-19 FIRST EPSS đź”— 2026-11-15 GITHUB đź”— 2026-11-11 OSV đź”— 2026-11-01

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-mrww-27vc-gghv HIGH

pgx SQL Injection via Protocol Message Size Overflow

AFFECTED PACKAGES:
GO / github.com/jackc/pgx/v5
>= 5.0.0, < 5.5.4
Fixed in: 5.5.4
GO / github.com/jackc/pgx/v4
< 4.18.2
Fixed in: 4.18.2
GO / github.com/jackc/pgx
>= 5.0.0, < 5.5.4
Fixed in: 5.5.4
GO / github.com/jackc/pgx
< 4.18.2
Fixed in: 4.18.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

pgx SQL Injection via Protocol Message Size Overflow

AFFECTED PACKAGES:
Unknown / Unknown
91 versions affected
ALIASES:
GHSA-7jwh-3vrq-q3m8, GHSA-mrww-27vc-gghv, GO-2024-2606

> HISTORIQUE DES MODIFICATIONS

Première apparition
06/03/2024 19:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:48
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME