DEBIAN-CVE-2024-1597

Source
https://security-tracker.debian.org/tracker/DEBIAN-CVE-2024-1597
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-1597.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-1597
Upstream
Published
2024-02-19T13:15:07Z
Modified
2025-09-19T07:33:48.007810Z
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

Debian:11 / libpgjava

Package

Name
libpgjava
Purl
pkg:deb/debian/libpgjava?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.2.15-1+deb11u2

Affected versions

42.*

42.2.15-1
42.2.15-1+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libpgjava

Package

Name
libpgjava
Purl
pkg:deb/debian/libpgjava?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.5.5-0+deb12u1

Affected versions

42.*

42.5.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libpgjava

Package

Name
libpgjava
Purl
pkg:deb/debian/libpgjava?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / libpgjava

Package

Name
libpgjava
Purl
pkg:deb/debian/libpgjava?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}