9.8

CVE-2022-21724: Unchecked Class Instantiation when providing Plugin Classes

Modified
AliasesUBUNTU-CVE-2022-21724DEBIAN-CVE-2022-21724DLA-3018-1
Published 02-02-2022Last modified 05-05-2025

Vulnerability summary

CVE-2022-21724 is a critical (CVSS 9.8) Improper Initialization vulnerability in debian debian_linux. EPSS estimates a 3.20% chance of exploitation in the next 30 days, higher than 88.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
3.20%
0%100%
Low · +0.11 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3 · Related 5

Timeline

  1. 02-02-2022
    PublishedVulnerability first disclosed.
  2. 05-05-2025
    Last 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

9 scores · 8 sources · 2 versions

EPSS trend

Probability

3.20%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

Increase +0.11 pp

From 3.09% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pgjdbc

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
Alpine1 product
  • java-postgresql-jdbc< 42.2.25-r0
Fedoraproject1 product
Org.postgresql1 product
  • postgresql≥ 9.4.1208, < 42.2.25 | ≥ 42.3.0, < 42.3.2
Postgresql1 product
Quarkus1 product
Ubuntu1 product
  • libpgjavaAll versions (No fix recorded)

9 vendors · 57 products

References

15 links
Show all 15 references