p PatchFirst

PatchFirst · Latest vulnerabilities

java-postgresql-jdbc vulnerabilities

Vulnerabilities published for java-postgresql-jdbc in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 3

  1. CVE-2022-31197

    High · CVSS 7.1EPSS 2.35%Fix available

    SQL Injection in ResultSet.refreshRow() with malicious column names in pgjdbc

    PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the `java.sql.ResultRow.refreshRow()` method is not performing escaping of column names so a malicious column name that contains a statement terminator, e.g. `;`, could lead to SQL injection. This could lead to executing additional SQL commands as the application's JDBC user. User applications that do not invoke the `ResultSet.refreshRow()` method are not impacted. User application that do invoke that method are impacted if the underlying database that they are querying

    • Update to 42.4.2-r0
    Published Updated
  2. CVE-2022-21724

    High · CVSS 7EPSS 3.09%Fix available

    Unchecked Class Instantiation when providing Plugin Classes

    pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker control the jdbc url or properties. pgjdbc instantiates plugin instances based on class names provided via `authenticationPluginClassName`, `sslhostnameverifier`, `socketFactory`, `sslfactory`, `sslpasswordcallback` connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. Users using plugin

    • Update to 42.2.25-r0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →