🛡️ CVE-2022-21724
🔴 CVSS 9.5 — Critical ⚠️ Exploit Public CWE-665 NVD
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

Details

Severity HIGH
CVSS Score 9.5
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-665
Public Exploit ⚠️ Yes
Source NVD
Published 2022-02-02
Updated 2026-06-15
Modified 2025-05-05

Affected Packages

Software From version Fixed in
debian-linux
fedora
mariadb-11.2 11.2.3-r2
org.postgresql:postgresql 42.3.0 42.3.2
postgresql-jdbc-driver
quarkus 2.7.2

References

Similar Threats

Free Vulnerability Check

Is your WordPress site affected?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.