** DISPUTED ** 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.
CVE-2022-26520 - Critical Severity Vulnerability
Vulnerable Library - postgresql-42.2.5.jar
Java JDBC 4.2 (JRE 8+) driver for PostgreSQL database
Library home page: https://github.com/pgjdbc/pgjdbc
Path to dependency file: /pom.xml
Path to vulnerable library: /downloadResource_be9e7f78-c1b5-4680-921c-c131e1f3bfc0/20200212161000/postgresql-42.2.5.jar
Dependency Hierarchy: - :x: **postgresql-42.2.5.jar** (Vulnerable Library)
Found in HEAD commit: 4fb542733bde6ab3a1680292943de904d0621c33
Found in base branch: master
Vulnerability Details
** DISPUTED ** 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.
Publish Date: 2022-03-10
URL: CVE-2022-26520
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://security-tracker.debian.org/tracker/CVE-2022-26520
Release Date: 2022-03-10
Fix Resolution: org.postgresql:postgresql:42.3.3
Step up your Open Source Security Game with Mend here