CVE-2024-1597
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)
Products: Postgresql: Postgresql Jdbc Driver · Fedoraproject: Fedora
Configuration A
| Vulnerable Software | Affected Versions |
|---|---|
| Before 42.2.28 |
Configuration B
| Vulnerable Software | Affected 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
Mailing ListThird Party Advisory
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
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Timeline
No history available yet.