Vulnerability · Published Mar 7, 2022 · Assigned by mitre

CVE-2022-26520

Critical 9.8

In plain English

A critical-severity security flaw in the libpgjava package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.0% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.0%top 12.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. An example situation is that an attacker could create an executable JSP file under a Tomcat web root. NOTE: the vendor's position is that there is no pgjdbc vulnerability; instead, it is a vulnerability for any application to use the pgjdbc driver with untrusted connection properties

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libpgjava42.3.3-1DEBIAN-CVE-2022-26520
Debian:13libpgjava42.3.3-1DEBIAN-CVE-2022-26520
Debian:14libpgjava42.3.3-1DEBIAN-CVE-2022-26520
Mavenorg.postgresql:postgresql42.3.3GHSA-673j-qm5f-xpv8
Mavenorg.postgresql:postgresql42.3.3GHSA-727h-hrw8-jg8q
Ubuntu:22.04:LTSlibpgjava42.3.3-1UBUNTU-CVE-2022-26520

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References