PostgreSQL JDBC Driver (PgJDBC) code execution | CVE-2022-21724
NAME
PostgreSQL JDBC Driver (PgJDBC) code execution
- Platforms Affected:
PgJDBC PgJDBC 42.2.24
PgJDBC PgJDBC 42.3.1 - Risk Level:
8.5 - Exploitability:
Unproven - Consequences:
Gain Access
DESCRIPTION
PostgreSQL JDBC Driver (PgJDBC) could allow a remote authenticated attacker to execute arbitrary code on the system, caused by an unchecked class instantiation when providing plugin classes. By sending a specially-crafted request using the “authenticationPluginClassName”, “sslhostnameverifier”, “socketFactory”, “sslfactory”, “sslpasswordcallback” classes, an attacker could exploit this vulnerability to execute arbitrary code on the system.
CVSS 3.0 Information
- Privileges Required: Low
- User Interaction: None
- Scope: Changed
- Access Vector: Network
- Access Complexity: High
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
- Remediation Level: Official Fix
MITIGATION
Upgrade to the latest version of PgJDBC (42.2.25, 42.3.2 or later), available from the pgjdbc GIT Repository. See References.
- Reference Link:
https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-v7wg-cpwc-24m4 - Reference Link:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21724
If you like the site, please consider joining the telegram channel and supporting us on Patreon using the button below.