CVE catalog

CVE-2022-21724

libpgjava: CVE-2022-21724

[CVE catalog]

Severity
High · CVSS 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.09% · Oct 25, 2026

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 plugins are advised to upgrade. There are no known workarounds for this issue.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibpgjavasid42.7.14-1fixed
Debianlibpgjavaforky42.7.14-1fixed
Debianlibpgjavatrixie42.7.7-1fixed
Debianlibpgjavabookworm42.5.5-0+deb12u1fixed
Suserelease-notes-susemanager-proxymanager proxy 4.14.1.15-150200.3.56.1fixed
Suserelease-notes-susemanager-proxymanager retail branch server 4.14.1.15-150200.3.56.1fixed
Suserelease-notes-susemanagermanager server 4.14.1.15-150200.3.80.1fixed
Ubuntulibpgjava14.049.2-1002-1vulnerable
Ubuntulibpgjava16.049.2-1002-1vulnerable
Ubuntulibpgjavapro42.2.6-1vulnerable
Ubuntulibpgjavapro42.2.8-1vulnerable
Ubuntulibpgjavapro42.2.9-1vulnerable
Ubuntulibpgjavapro42.2.10-1vulnerable
Ubuntulibpgjavapro42.2.10-1ubuntu0.1~esm1vulnerable
Ubuntulibpgjava22.0442.2.23-1vulnerable
Ubuntulibpgjava22.0442.2.24-1vulnerable
Ubuntulibpgjava22.0442.3.1-1vulnerable
Ubuntulibpgjava22.0442.3.2-1vulnerable
Ubuntulibpgjava22.0442.3.3-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibpgjavasourcesid42.3.2-1not yet assignedNot reportedNot reported
Debianlibpgjavasourceforky42.3.2-1not yet assignedNot reportedNot reported
Debianlibpgjavasourcetrixie42.3.2-1not yet assignedNot reportedNot reported
Debianlibpgjavasourcebookworm42.3.2-1not yet assignedNot reportedNot reported
Suserelease-notes-susemanager-proxyrpmmanager proxy 4.14.1.15-150200.3.56.1Not reportedSUSE-SU-2022:2143-1Not reported
Suserelease-notes-susemanager-proxyrpmmanager retail branch server 4.14.1.15-150200.3.56.1Not reportedSUSE-SU-2022:2143-1Not reported
Suserelease-notes-susemanagerrpmmanager server 4.14.1.15-150200.3.80.1Not reportedSUSE-SU-2022:2143-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libpgjava]

    Details (2)
    • 42.5.5-0+deb12u1 · all · bookworm

      Fixed · Fixed: 42.3.2-1

      dsa · libpgjava · debian · bookworm

    • 42.5.5-0+deb12u1 · all · bookworm

      Fixed · Fixed: 42.3.2-1

      dsa · libpgjava · debian · bookworm

  • Source package: [libpgjava]

    Details (2)
    • 42.5.5-0+deb12u1 · all · bookworm

      Fixed · Fixed: 42.3.2-1

      dsa · libpgjava · debian · bookworm

    • 42.5.5-0+deb12u1 · all · bookworm

      Fixed · Fixed: 42.3.2-1

      dsa · libpgjava · debian · bookworm

Observed:

References