> CVE-2024-32655 [HIGH]

« BACK_TO_HOME
PUBLISHED
2024-05-14 15:36
MODIFIED
2024-12-12 21:15
CVSS_SCORE V3
8.1
EPSS (Prob. Exploit)
1.72%
Top 22.4%
DATA SOURCES:
NVD đź”— 2025-10-18 CVE PROJECT đź”— 2026-01-19 FIRST EPSS đź”— 2026-11-08 GITHUB đź”— 2026-11-04 OSV đź”— 2026-11-08

> DESCRIPTION

Npgsql is the .NET data provider for PostgreSQL. The `WriteBind()` method in `src/Npgsql/Internal/NpgsqlConnector.FrontendMessages.cs` uses `int` variables to store the message length and the sum of parameter lengths. Both variables overflow when the sum of parameter lengths becomes too large. This causes Npgsql to write a message size that is too small when constructing a Postgres protocol message to send it over the network to the database. When parsing the message, the database will only read a small number of bytes and treat any following bytes as new messages while they belong to the old message. Attackers can abuse this to inject arbitrary Postgres protocol messages into the connection, leading to the execution of arbitrary SQL statements on the application's behalf. This vulnerability is fixed in 4.0.14, 4.1.13, 5.0.18, 6.0.11, 7.0.7, and 8.0.3.

> 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:H/PR:N/UI:N/S:U/C:H/I:H/A:H

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/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
High (H)
Conditions spécifiques doivent être réunies 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-x9vc-6hfv-hg8c HIGH

Npgsql vulnerable to SQL Injection via Protocol Message Size Overflow

AFFECTED PACKAGES:
NUGET / Npgsql
>= 7.0.0, < 7.0.7
Fixed in: 7.0.7
NUGET / Npgsql
>= 6.0.0, < 6.0.11
Fixed in: 6.0.11
NUGET / Npgsql
>= 5.0.0, < 5.0.18
Fixed in: 5.0.18
NUGET / Npgsql
>= 4.1.0, < 4.1.13
Fixed in: 4.1.13
NUGET / Npgsql
<= 4.0.13
Fixed in: 4.0.14
NUGET / Npgsql
>= 8.0.0, < 8.0.3
Fixed in: 8.0.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Npgsql Vulnerable to SQL Injection via Protocol Message Size Overflow

AFFECTED PACKAGES:
Unknown / Unknown
57 versions affected
ALIASES:
GHSA-x9vc-6hfv-hg8c

> HISTORIQUE DES MODIFICATIONS

Première apparition
14/05/2024 15:36
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:50
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