Debian Security Advisory

DLA-3018-1 libpgjava -- LTS security update

Date Reported:
20 May 2022
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2022-21724.
More information:

It was found that libpgjava, the official PostgreSQL JDBC Driver, would be vulnerable if an attacker controlled jdbc url or properties. 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.

For Debian 9 stretch, this problem has been fixed in version 9.4.1212-1+deb9u1.

We recommend that you upgrade your libpgjava packages.

For the detailed security status of libpgjava please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: