10
CVE-2024-1597
- EPSS 0.31%
- Published 19.02.2024 13:15:07
- Last modified 12.06.2025 16:15:21
- Source f86ef6dc-4d3a-42ad-8f28-e6d554
- Teams watchlist Login
- Open Login
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.
Data is provided by the National Vulnerability Database (NVD)
Postgresql ≫ Postgresql Jdbc Driver Version < 42.2.28
Postgresql ≫ Postgresql Jdbc Driver Version >= 42.3.0 < 42.3.9
Postgresql ≫ Postgresql Jdbc Driver Version >= 42.4.0 < 42.4.4
Postgresql ≫ Postgresql Jdbc Driver Version >= 42.5.0 < 42.5.5
Postgresql ≫ Postgresql Jdbc Driver Version >= 42.6.0 < 42.6.1
Postgresql ≫ Postgresql Jdbc Driver Version >= 42.7.0 < 42.7.2
Fedoraproject ≫ Fedora Version40
Zu dieser CVE wurde keine CISA KEV oder CERT.AT-Warnung gefunden.
Type | Source | Score | Percentile |
---|---|---|---|
EPSS | FIRST.org | 0.31% | 0.533 |
Source | Base Score | Exploit Score | Impact Score | Vector string |
---|---|---|---|---|
nvd@nist.gov | 9.8 | 3.9 | 5.9 |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | 10 | 3.9 | 6 |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.