CVE-2022-21724: debian debian_linux Improper Initialization
Vulnerability summary
CVE-2022-21724 is a critical (CVSS 9.8) Improper Initialization vulnerability in debian debian_linux. EPSS estimates a 3.09% chance of exploitation in the next 30 days, higher than 87.5% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 5Timeline
- 02-02-2022PublishedVulnerability first disclosed.
- 05-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- CVE.orgCNA7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · MavenEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
3.09%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
+0.08 pp
From 3.01% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPgjdbc
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard25 products
- mariadb-10.11< 10.11.8-r2
- mariadb-10.11-backup< 10.11.8-r2
- mariadb-10.11-bench< 10.11.8-r2
- mariadb-10.11-client< 10.11.8-r2
- mariadb-10.11-dev< 10.11.8-r2
Wolfi24 products
- mariadb-10.11< 10.11.8-r2
- mariadb-10.11-backup< 10.11.8-r2
- mariadb-10.11-bench< 10.11.8-r2
- mariadb-10.11-client< 10.11.8-r2
- mariadb-10.11-dev< 10.11.8-r2
Debian2 products
- libpgjava< 9.4.1212-1+deb9u1 | < 42.3.2-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Fedoraproject1 product
- fedoraEOL35
Org.postgresql1 product
- postgresql≥ 9.4.1208, < 42.2.25 | ≥ 42.3.0, < 42.3.2
Postgresql1 product
- postgresql_jdbc_driver< 42.2.25 | ≥ 42.3.0, < 42.3.2 | 42.3.2:rc1
Quarkus1 product
- quarkus< 2.7.2
Ubuntu1 product
- libpgjavaAll versions (No fix recorded)
8 vendors · 56 products
References
14 links- github.com/pgjdbc/pgjdbc/security/advisories/GHSA-v7wg-cpwc-24m4X Refsource CONFIRMREPORTAdvisoryWEBExploitThird Party Advisory
- github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813X Refsource MISCREPORTFIXWEBPatchThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/05/msg00027.htmlMailing ListX Refsource MLISTARTICLEWEBThird Party Advisory
- www.debian.org/security/2022/dsa-5196Vendor AdvisoryX Refsource DEBIANAdvisoryWEBThird Party Advisory
Show all 14 references
- github.com/pgjdbc/pgjdbcPACKAGE