← Back

CVE-2024-1597

nvd nist
Published: Feb 19, 2024Modified: Jun 17, 2026

JSON object

Loading...
9.8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitability: 3.9 / Impact: 5.9
Source: NVD

Description

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.

Affected (7)

1 product
Postgresql Jdbc Driver
1 product
Fedora
Configuration A
6 vulnerable
Vulnerable SoftwareAffected Versions
Postgresql
Before 42.2.28
From 42.3.0 to 42.3.9
From 42.4.0 to 42.4.4
From 42.5.0 to 42.5.5
From 42.6.0 to 42.6.1
From 42.7.0 to 42.7.2
Configuration B
1 vulnerable
Vulnerable SoftwareAffected Versions
Version 40

References (16)

Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Third Party Advisory
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Release Notes
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

Timeline

No history available yet.