DSA-5196-1 libpgjava -- security update

Related Vulnerabilities: CVE-2020-13692   CVE-2022-21724   CVE-2022-26520  

Several security vulnerabilities have been found in libpgjava, the official PostgreSQL JDBC Driver. CVE-2020-13692 An XML External Entity (XXE) weakness was found in PostgreSQL JDBC. CVE-2022-21724 The JDBC driver did not verify if certain classes implemented the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. CVE-2022-26520 An attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties. For the oldstable distribution (buster), these problems have been fixed in version 42.2.5-2+deb10u1. For the stable distribution (bullseye), these problems have been fixed in version 42.2.15-1+deb11u1. We recommend that you upgrade your libpgjava packages. For the detailed security status of libpgjava please refer to its security tracker page at: https://security-tracker.debian.org/tracker/libpgjava

Debian Security Advisory

DSA-5196-1 libpgjava -- security update

Date Reported:
31 Jul 2022
Affected Packages:
libpgjava
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 962828.
In Mitre's CVE dictionary: CVE-2020-13692, CVE-2022-21724, CVE-2022-26520.
More information:

Several security vulnerabilities have been found in libpgjava, the official PostgreSQL JDBC Driver.

  • CVE-2020-13692

    An XML External Entity (XXE) weakness was found in PostgreSQL JDBC.

  • CVE-2022-21724

    The JDBC driver did not verify if certain classes implemented the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes.

  • CVE-2022-26520

    An attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and loggerLevel connection properties.

For the oldstable distribution (buster), these problems have been fixed in version 42.2.5-2+deb10u1.

For the stable distribution (bullseye), these problems have been fixed in version 42.2.15-1+deb11u1.

We recommend that you upgrade your libpgjava packages.

For the detailed security status of libpgjava please refer to its security tracker page at: https://security-tracker.debian.org/tracker/libpgjava