BIT-postgresql-jdbc-driver-2022-21724

Import Source
https://github.com/bitnami/vulndb/tree/main/data/postgresql-jdbc-driver/BIT-postgresql-jdbc-driver-2022-21724.json
Aliases
Published
2024-03-06T11:02:31.977Z
Modified
2024-03-06T11:25:28.861Z
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

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
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