CVE-2022-21724 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-665 | Improper Initialization | [email protected] |
| CWE-665 | Improper Initialization | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| postgresql postgresql jdbc driver | < 42.2.25 >= 42.3.0, < 42.3.2 42.3.2 rc1 |
CPE
Remediation
| |
| fedoraproject fedora | 35 |
CPE
Remediation
| |
| quarkus quarkus | < 2.7.2 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 11.0 |
CPE
Remediation
| |
Change History
16 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 5, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Nov 9, 2022 | Modified Analysis | [email protected] |
| Aug 1, 2022 | CVE Modified | [email protected] |
| May 27, 2022 | Modified Analysis | [email protected] |
| May 20, 2022 | CVE Modified | [email protected] |
| Apr 14, 2022 | CVE Modified | [email protected] |
| Mar 30, 2022 | Modified Analysis | [email protected] |
| Mar 11, 2022 | CVE Modified | [email protected] |
| Feb 7, 2022 | Initial Analysis | [email protected] |
| Feb 7, 2022 | CVE Modified | [email protected] |
| Feb 2, 2022 | CVE Modified | [email protected] |