CVE-2022-21724

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-21724
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21724.json
Aliases
Related
Published
2022-02-02T12:15:08Z
Modified
2023-12-06T01:01:55.658908Z
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

Git / github.com/pgjdbc/pgjdbc

Affected ranges

Type
GIT
Repo
https://github.com/pgjdbc/pgjdbc
Events
Type
GIT
Repo
https://github.com/quarkusio/quarkus
Events
Introduced
0The exact introduced commit is unknown
Fixed

Affected versions

REL42.*

REL42.3.0
REL42.3.0-rc2
REL42.3.1
REL42.3.1-rc1
REL42.3.1-rc2