CVE-2024-1597

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-1597
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1597.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-1597
Aliases
Related
Published
2024-02-19T13:15:07Z
Modified
2024-06-10T20:19:33.688707Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/pgjdbc/pgjdbc

Affected ranges

Type
GIT
Repo
https://github.com/pgjdbc/pgjdbc
Events

Affected versions

REL42.*

REL42.3.0
REL42.3.0-rc2
REL42.3.1
REL42.3.1-rc1
REL42.3.1-rc2
REL42.3.2
REL42.3.2-rc2
REL42.3.3
REL42.3.3-rc1
REL42.3.4
REL42.3.4-rc1
REL42.3.5
REL42.3.5-rc1
REL42.3.6
REL42.3.6-rc1
REL42.3.7
REL42.3.7-rc1
REL42.3.8
REL42.3.8-rc1