BIT-postgresql-jdbc-driver-2022-21724

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/postgresql-jdbc-driver/BIT-postgresql-jdbc-driver-2022-21724.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-postgresql-jdbc-driver-2022-21724
Aliases
Published
2024-03-06T11:02:31.977Z
Modified
2024-10-22T05:29:07.070462Z
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

Bitnami / postgresql-jdbc-driver

Package

Name
postgresql-jdbc-driver
Purl
pkg:bitnami/postgresql-jdbc-driver

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

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.2.25
Introduced
42.3.0
Fixed
42.3.2
Type
SEMVER
Events
Introduced
42.3.2-rc1
Last affected
42.3.2-rc1