Path to vulnerable library: /m2/repository/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar,/home/wss-scanner/.m2/repository/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar,/m2/repository/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar
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.23.jar
PostgreSQL JDBC Driver Postgresql
Library home page: https://jdbc.postgresql.org
Path to dependency file: /webgoat-server/pom.xml
Path to vulnerable library: /m2/repository/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar,/home/wss-scanner/.m2/repository/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar,/m2/repository/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar
Dependency Hierarchy: - :x: **postgresql-42.2.23.jar** (Vulnerable Library)
Found in base branch: develop
Vulnerability Details
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-07
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-07
Fix Resolution: 42.2.26
Step up your Open Source Security Game with Mend here