๐Ÿ›ก๏ธ CVE-2024-1597
๐Ÿ”ด CVSS 10.0 โ€” Critical โœ… No Known Exploit CWE-89 NVD
10.0
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity CRITICAL
CVSS Score 10.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE CWE-89
Public Exploit โœ… No
Source NVD
Published 2024-02-19
Updated 2026-06-14
Modified 2025-11-03
Fix URL N/A

Affected Packages

Software From version Fixed in
fedora โ€” โ€”
mariadb-10.6 โ€” 10.6.17-r0
mariadb-11.2 โ€” 11.2.3-r2
org.postgresql:postgresql 42.7.0 42.7.2
postgresql-jdbc-driver โ€” โ€”

References

Similar Threats

Patch Gap Protection

Running software with known vulnerabilities?

BotEraser can help reduce exposure by blocking IPs associated with exploit activity โ€” even before a patch is available.

Start Free โ†’

No credit card required  ยท  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.