Vulnerability identifier: #VU62714
Vulnerability risk: Medium
CVSSv4.0: 6.9 [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:
CWE-ID:
CWE-665
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Postgresql JDBC Driver
Universal components / Libraries /
Libraries used by multiple products
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.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Postgresql JDBC Driver: 9.4.1207 - 9.4.1212, 42.0.0, 42.1.0 - 42.1.4, 42.2.0 - 42.2.24, 42.3.0 - 42.3.1
External links
https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-v7wg-cpwc-24m4
https://github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813
https://security.netapp.com/advisory/ntap-20220311-0005/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BVEO7BEFXPBVHSPYL3YKQWZI6DYXQLFS/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.