[MAVEN:GHSA-XFG6-62PX-CXC2] Duplicate Advisory: SQL injection in pgjdbc

Severity Critical
Affected Packages 6
Fixed Packages 6

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-24rp-q3w6-vc56. This link is maintained to preserve external references.

Original 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.8 are affected.

ID
MAVEN:GHSA-XFG6-62PX-CXC2
Severity
critical
URL
https://github.com/advisories/GHSA-xfg6-62px-cxc2
Published
2024-02-19T15:30:38
(7 months ago)
Modified
2024-02-21T23:18:26
(7 months ago)
Rights
Maven Security Team
Type Package URL Namespace Name / Product Version Distribution / Platform Arch Patch / Fix
Affected pkg:maven/org.postgresql/postgresql org.postgresql postgresql < 42.2.8
Fixed pkg:maven/org.postgresql/postgresql org.postgresql postgresql = 42.2.8
Affected pkg:maven/org.postgresql/postgresql org.postgresql postgresql >= 42.3.0 < 42.3.9
Fixed pkg:maven/org.postgresql/postgresql org.postgresql postgresql = 42.3.9
Affected pkg:maven/org.postgresql/postgresql org.postgresql postgresql >= 42.4.0 < 42.4.4
Fixed pkg:maven/org.postgresql/postgresql org.postgresql postgresql = 42.4.4
Affected pkg:maven/org.postgresql/postgresql org.postgresql postgresql >= 42.5.0 < 42.5.5
Fixed pkg:maven/org.postgresql/postgresql org.postgresql postgresql = 42.5.5
Affected pkg:maven/org.postgresql/postgresql org.postgresql postgresql >= 42.6.0 < 42.6.1
Fixed pkg:maven/org.postgresql/postgresql org.postgresql postgresql = 42.6.1
Affected pkg:maven/org.postgresql/postgresql org.postgresql postgresql >= 42.7.0 < 42.7.2
Fixed pkg:maven/org.postgresql/postgresql org.postgresql postgresql = 42.7.2
Loading...