Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-21724

published high CVSS 3.1 · 7.0

Unchecked Class Instantiation when providing Plugin Classes

Published
02 Feb 2022, 11:48:52 UTC
Updated
05 May 2025, 16:33:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated GitHub_M
Alpine Linux edge java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Debian bullseye libpgjava Advisory build 42.2.15-1+deb11u1 DSA-5196-1
Alpine Linux v3.16 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Alpine Linux v3.17 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Alpine Linux v3.18 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Alpine Linux v3.19 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Alpine Linux v3.20 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.21 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Alpine Linux v3.22 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Alpine Linux v3.23 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Alpine Linux v3.24 java-postgresql-jdbc Fixed 42.2.25-r0 Package fix record
Debian buster libpgjava Advisory build 42.2.5-2+deb10u1 DSA-5196-1
Debian stretch libpgjava Advisory build 9.4.1212-1+deb9u1 DLA-3018-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) GitHub_M · cna

Weaknesses

2
  • n/a (GitHub_M · cna)
  • CWE-665 CWE-665 Improper Initialization (CISA-ADP · adp)

References

6

Provider assertions

3

GitHub_M · cna

Unchecked Class Instantiation when providing Plugin Classes

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
ad232af95a17a754b8c748ac9d00b9fbfb7e17d22c323a8fe96da081e44ab25d
Ingested
23 Sep 2026, 07:58:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected