ADVISORIES

Vulnerability

CVE-2022-21724

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.

62 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALPINE-CVE-2022-21724

    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…

    CVE-2022-21724 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-21724
    CVE-2022-21724 Alpine Updated 18 November 2026
  • CGA-296m-53mx-cvf2
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-2v68-x4r6-wcr6
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-2vgq-wgqf-2fgq
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-3cwg-q477-5f96
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-3frh-2qcr-4r6p
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-42gm-xh69-472g
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-46f7-xg2p-fp6h
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-4c64-42vq-vw28
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-4h49-mc87-xg42
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-594q-xg74-q2mh
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-636q-4x6w-2c96
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-63j7-vh89-wc5p
    CVE-2022-21724 Chainguard Updated 28 January 2026
  • CGA-6hrc-cv7g-pjh6
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-6m8j-5j98-2wvq
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-7p9q-wvx2-pvc7
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-7vcg-j3m7-2pw3
    CVE-2022-21724 Chainguard Updated 5 November 2026
  • CGA-84vj-f8qx-c7p6
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-9mr8-w8ch-c389
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-c69q-557m-v2hj
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-c8f8-grcw-hr9m
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-cgf5-gcm7-9w7j
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-cqpg-fr9m-pxcr
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-f4gq-cc8v-v772
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-fggr-vhpj-25qc
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-fr72-5p9h-6f39
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-fwh8-gqrr-h8fg
    CVE-2022-21724 Chainguard Updated 5 November 2026
  • CGA-gvp3-2x54-h2gx
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-hpwm-83jc-mx7j
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-j34p-p737-58qv
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-j3fq-5cxx-76gj
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-jxv3-2h97-7h94
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-m5gm-9qxq-5fpm
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-mm3p-rvp4-hgf9
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-p52c-c7vf-w9fx
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-p786-29v2-g427
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-pr65-fxwr-wf8v
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-q7fx-4hqq-pwhm
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-qgqg-vw2q-rc2h
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-qj54-hrp8-8phr
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-rcc3-2523-xq7v
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-rrrq-f6w7-rm6r
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-v844-xxjr-vq68
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-vc3p-c84w-vr7r
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-w5wm-839r-g5p6
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-wcm5-qw48-h282
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-x2hq-wwvm-2m22
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-x6v2-5x7f-79jf
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-xhh4-9vcg-wcfr
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-xrv5-vqrc-h3vr
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-xrx2-9v73-7q8x
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • CGA-xx55-3w52-7cqq
    CVE-2022-21724 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2022-21724

    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…

    CVE-2022-21724 Debian Updated 20 November 2026
  • DLA-3018-1

    libpgjava - security update

    CVE-2022-21724 Debian Updated 20 November 2026
  • DSA-5196-1

    libpgjava - security update

    CVE-2022-21724CVE-2022-26520 Debian Updated 20 November 2026
  • GHSA-v7wg-cpwc-24m4

    pgjdbc Does Not Check Class Instantiation when providing Plugin Classes

    High CVE-2022-21724 Maven Updated 10 September 2026
  • OESA-2022-1535

    postgresql-jdbc security update

    High CVE-2022-21724 openEuler Updated 18 August 2026
  • RHVEX-CVE-2022-21724

    jdbc-postgresql: Unchecked Class Instantiation when providing Plugin Classes

    Moderate CVE-2022-21724 Red Hat Updated 23 November 2026
  • SUSE-SU-2022:2143-1

    Recommended update for SUSE Manager 4.1.15 Release Notes

    CVE-2022-21724CVE-2022-21952CVE-2022-26520CVE-2022-31248 SUSE Updated 4 February 2026
  • SUSE-SU-2022:2145-1

    Security update for SUSE Manager Server 4.1

    CVE-2022-21698CVE-2022-21724CVE-2022-21952CVE-2022-26520 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-21724

    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…

    CVE-2022-21724 Ubuntu Updated 4 November 2026

References