Path to vulnerable library: /m2/repository/org/postgresql/postgresql/42.2.18/postgresql-42.2.18.jar,/m2/repository/org/postgresql/postgresql/42.2.18/postgresql-42.2.18.jar,/home/wss-scanner/.m2/repository/org/postgresql/postgresql/42.2.18/postgresql-42.2.18.jar
In org.postgresql:postgresql before 42.3.3 the connection properties for configuring a pgjdbc connection are not meant to be exposed to an unauthenticated attacker. While allowing an attacker to specify arbitrary connection properties could lead to a compromise of a system, that's a defect of an application that allows unauthenticated attackers that level of control.
WS-2022-0080 - Critical Severity Vulnerability
Vulnerable Library - postgresql-42.2.18.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.18/postgresql-42.2.18.jar,/m2/repository/org/postgresql/postgresql/42.2.18/postgresql-42.2.18.jar,/home/wss-scanner/.m2/repository/org/postgresql/postgresql/42.2.18/postgresql-42.2.18.jar
Dependency Hierarchy: - :x: **postgresql-42.2.18.jar** (Vulnerable Library)
Found in HEAD commit: 3f40aaa55b2c1a3432a061c27496ea82f484838a
Found in base branch: develop
Vulnerability Details
In org.postgresql:postgresql before 42.3.3 the connection properties for configuring a pgjdbc connection are not meant to be exposed to an unauthenticated attacker. While allowing an attacker to specify arbitrary connection properties could lead to a compromise of a system, that's a defect of an application that allows unauthenticated attackers that level of control.
Publish Date: 2022-02-16
URL: WS-2022-0080
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://github.com/advisories/GHSA-673j-qm5f-xpv8
Release Date: 2022-02-16
Fix Resolution: 42.2.26
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.