10 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
9.8 High
AI Score
Confidence
High
0.001 Low
EPSS
Percentile
47.3%
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.
github.com/pgjdbc/pgjdbc/commit/06abfb78a627277a580d4df825f210e96a4e14ee (REL42.7.2)
github.com/pgjdbc/pgjdbc/commit/1b1d6b53eca90409af0069d5327d4fdf8d40a255 (REL42.5.5)
github.com/pgjdbc/pgjdbc/commit/475e3e2af3033c666fc1c0015159b35455118ae5 (REL42.5.5)
github.com/pgjdbc/pgjdbc/commit/93b0fcb2711d9c1e3a2a03134369738a02a58b40 (REL42.7.2)
github.com/pgjdbc/pgjdbc/commit/990d63f6be401ab40de5eb303a75924c9e71903c (REL42.2.28)
github.com/pgjdbc/pgjdbc/commit/b9b3777671c8a5cc580e1985f61337d39d47c730 (REL42.2.28)
github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56
launchpad.net/bugs/cve/CVE-2024-1597
nvd.nist.gov/vuln/detail/CVE-2024-1597
security-tracker.debian.org/tracker/CVE-2024-1597
www.cve.org/CVERecord?id=CVE-2024-1597
10 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
9.8 High
AI Score
Confidence
High
0.001 Low
EPSS
Percentile
47.3%