Lucene search

K
osvGoogleOSV:CVE-2022-21724
HistoryFeb 02, 2022 - 12:15 p.m.

CVE-2022-21724

2022-02-0212:15:08
Google
osv.dev
11

9.6 High

AI Score

Confidence

High

0.018 Low

EPSS

Percentile

88.1%

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.