#VU62714 Improper initialization in Postgresql JDBC Driver - CVE-2022-21724

 

#VU62714 Improper initialization in Postgresql JDBC Driver - CVE-2022-21724

Published: May 2, 2022 / Updated: July 25, 2023


Vulnerability identifier: #VU62714
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-21724
CWE-ID: CWE-665
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Postgresql JDBC Driver
Software vendor:
PostgreSQL Global Development Group

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to improper initialization in pgjdbc driver when handling attacker-controlled URL in connection properties as the driver does not verify if the class implements the expected interface before instantiating the class. A remote attacker can pass specially crafted URL to the affected application and execute arbitrary code in the system.


Remediation

Install updates from vendor's website.

External links