CVE-2024-1597: fedoraproject fedora SQL Injection
Vulnerability summary
CVE-2024-1597 is a critical (CVSS 10.0) SQL Injection vulnerability in fedoraproject fedora. EPSS estimates a 4.81% chance of exploitation in the next 30 days, higher than 91.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 7Timeline
- 19-02-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · Red hatEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
4.81%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
0.00 pp
From 4.81% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard87 products
- dependency-track< 4.10.1-r1
- dependency-track-bundled< 4.10.1-r1
- keycloak< 23.0.7-r0
- mariadb-10.11< 10.11.8-r2
- mariadb-10.11-backup< 10.11.8-r2
Wolfi86 products
- dependency-track< 4.10.1-r1
- dependency-track-bundled< 4.10.1-r1
- keycloak< 23.0.7-r0
- mariadb-10.11< 10.11.8-r2
- mariadb-10.11-backup< 10.11.8-r2
Suse13 products
- postgresql-jdbc&distro=SUSE Enterprise Storage 7.1< 42.2.25-150300.3.14.1
- postgresql-jdbc&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 42.2.25-150300.3.14.1
- postgresql-jdbc&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 42.2.25-150400.3.12.1
- postgresql-jdbc&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 42.2.25-150400.3.12.1
- postgresql-jdbc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP5< 42.2.25-150400.3.12.1
Redhat2 products
- postgresql-jdbc< 0:42.2.14-3.el8_9 | < 0:42.2.28-1.el9_3 | < 0:42.2.28-1.el9_2 | < 0:42.2.28-1.el9_0 | < 0:42.2.3-5.el8_2 | < 0:42.2.14-5.el8_8 | < 0:42.2.3-7.el8_4 | < 0:42.2.3-5.el8_6
- postgresql-jdbc-javadoc< 0:42.2.14-3.el8_9 | < 0:42.2.3-5.el8_2 | < 0:42.2.14-5.el8_8 | < 0:42.2.3-7.el8_4 | < 0:42.2.3-5.el8_6
Debian1 product
- libpgjava< 42.5.5-0+deb12u1 | < 42.7.2-1 | < 42.2.5-2+deb10u4
Fedoraproject1 product
- fedoraEOL40
Mageia1 product
- postgresql-jdbc< 42.5.6-1.mga9
Opensuse1 product
- postgresql-jdbc&distro=openSUSE Leap 15.5< 42.2.25-150400.3.12.1
Org.postgresql1 product
- postgresql< 42.2.28 | ≥ 42.7.0, < 42.7.2 | ≥ 42.6.0, < 42.6.1 | ≥ 42.5.0, < 42.5.5 | ≥ 42.4.0, < 42.4.4 | ≥ 42.3.0, < 42.3.9 | < 42.2.8
Pgjdbc1 product
- pgjdbc< 42.7.2 | < 42.6.1 | < 42.5.5 | < 42.4.4 | < 42.3.9 | < 42.2.28
Postgresql1 product
- postgresql_jdbc_driver< 42.2.28 | ≥ 42.3.0, < 42.3.9 | ≥ 42.4.0, < 42.4.4 | ≥ 42.5.0, < 42.5.5 | ≥ 42.6.0, < 42.6.1 | ≥ 42.7.0, < 42.7.2
Ubuntu1 product
- libpgjavaAll versions (No fix recorded)
12 vendors · 196 products
References
52 links- github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56ARTICLEREPORTAdvisoryWEBThird Party Advisory
Show all 52 references
- github.com/pgjdbc/pgjdbcPACKAGE