THREATPORT/VULNERABILITY/CVE-2022-21724
HIGH SEVERITY

CVE-2022-21724

Postgresql Jdbc Driver vulnerability

CVSS
7.0
EPSS
3.0%
EPSS pct
86th
Exploited
No known
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.
Affected vendor
Postgresql
Affected product
Postgresql Jdbc Driver
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-665 — Improper Initialization
Published
2022-02-02

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable with local access, high attack complexity, requiring low privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 3.0% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 86% of all scored CVEs.

Check your external exposure to CVE-2022-21724

  • Confirm whether Postgresql Postgresql Jdbc Driver is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2022-21724.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2022-21724

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2022-21724 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2022-21724?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2022-21724.

Start free scan

No credit card. Agentless.