DEBIAN-CVE-2022-21724

Source
https://security-tracker.debian.org/tracker/CVE-2022-21724
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-21724.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2022-21724
Upstream
Published
2022-02-02T12:15:08Z
Modified
2025-09-19T07:32:10.692484Z
Summary
[none]
Details

pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker control the jdbc url or properties. pgjdbc instantiates plugin instances based on class names provided via authenticationPluginClassName, sslhostnameverifier, socketFactory, sslfactory, sslpasswordcallback connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. Users using plugins are advised to upgrade. There are no known workarounds for this issue.

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+deb11u1

Affected versions

42.*

42.2.15-1

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.3.2-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.3.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.3.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}