Skip to main content

CVE-2022-21724

7.0
HIGHCVSS v3.1 Base Score
4.16%
LOW RiskEPSS (89th percentile)

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.

Published: 2/2/2022
Modified: 5/5/2025
Back to CVE Lookup

Vulnerability Summary

CVSS v3 Score

7HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Score (Exploitation Probability)

4.16%LOW Exploitation Risk
89th percentile

This vulnerability has a 4.16% probability of being exploited in the next 30 days, ranking higher than 89% of all scored CVEs.

Related Vulnerabilities