1. Accueil
  2. Vulnérabilités
  3. CVE-2024-1597

CVE-2024-1597

pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this…

Publiée le 19 févr. 2024 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Élevé 65/100

Résumé

pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. A placeholder for a numeric value must be immediately preceded by a minus. There must be a second placeholder for a string value after the first placeholder; both must be on the same line. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions before 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.28 are affected.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fedoraproject (1 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 40 — NVD
Postgresql (6 ligne(s))
Postgresql
ProduitVersionsCorrigé dansSource
Postgresql jdbc driver avant 42.2.28 (exclu) — NVD
Postgresql jdbc driver de 42.3.0 (inclus) à 42.3.9 (exclu) — NVD
Postgresql jdbc driver de 42.4.0 (inclus) à 42.4.4 (exclu) — NVD
Postgresql jdbc driver de 42.5.0 (inclus) à 42.5.5 (exclu) — NVD
Postgresql jdbc driver de 42.6.0 (inclus) à 42.6.1 (exclu) — NVD
Postgresql jdbc driver de 42.7.0 (inclus) à 42.7.2 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-89 · Injection SQL

Comment sont obtenues et calculées ces données