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…
- ALPINE-EDGE-CVE-2022-21724
- CGA-296m-53mx-cvf2
- CGA-2v68-x4r6-wcr6
- CGA-2vgq-wgqf-2fgq
- CGA-3cwg-q477-5f96
- CGA-3frh-2qcr-4r6p
- CGA-42gm-xh69-472g
- CGA-46f7-xg2p-fp6h
- CGA-4c64-42vq-vw28
- CGA-4h49-mc87-xg42
- CGA-594q-xg74-q2mh
- CGA-636q-4x6w-2c96
- CGA-63j7-vh89-wc5p
- CGA-6hrc-cv7g-pjh6
- CGA-6m8j-5j98-2wvq
- CGA-7p9q-wvx2-pvc7
- CGA-7vcg-j3m7-2pw3
- CGA-84vj-f8qx-c7p6
- CGA-9mr8-w8ch-c389
- CGA-c69q-557m-v2hj
- CGA-c8f8-grcw-hr9m
- CGA-cgf5-gcm7-9w7j
- CGA-cqpg-fr9m-pxcr
- CGA-f4gq-cc8v-v772
- CGA-fggr-vhpj-25qc
- CGA-fr72-5p9h-6f39
- CGA-fwh8-gqrr-h8fg
- CGA-gvp3-2x54-h2gx
- CGA-hpwm-83jc-mx7j
- CGA-j34p-p737-58qv
- CGA-j3fq-5cxx-76gj
- CGA-jxv3-2h97-7h94
- CGA-m5gm-9qxq-5fpm
- CGA-mm3p-rvp4-hgf9
- CGA-p52c-c7vf-w9fx
- CGA-p786-29v2-g427
- CGA-pr65-fxwr-wf8v
- CGA-q7fx-4hqq-pwhm
- CGA-qgqg-vw2q-rc2h
- CGA-qj54-hrp8-8phr
- CGA-rcc3-2523-xq7v
- CGA-rrrq-f6w7-rm6r
- CGA-v844-xxjr-vq68
- CGA-vc3p-c84w-vr7r
- CGA-w5wm-839r-g5p6
- CGA-wcm5-qw48-h282
- CGA-x2hq-wwvm-2m22
- CGA-x6v2-5x7f-79jf
- CGA-xhh4-9vcg-wcfr
- CGA-xrv5-vqrc-h3vr
- CGA-xrx2-9v73-7q8x
- CGA-xx55-3w52-7cqq
-
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…
-
DLA-3018-1
libpgjava - security update
-
DSA-5196-1
libpgjava - security update
-
GHSA-v7wg-cpwc-24m4
pgjdbc Does Not Check Class Instantiation when providing Plugin Classes
-
OESA-2022-1535
postgresql-jdbc security update
-
RHVEX-CVE-2022-21724
jdbc-postgresql: Unchecked Class Instantiation when providing Plugin Classes
-
SUSE-SU-2022:2143-1
Recommended update for SUSE Manager 4.1.15 Release Notes
-
SUSE-SU-2022:2145-1
Security update for SUSE Manager Server 4.1
-
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…
References
- https://github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-v7wg-cpwc-24m4
- https://lists.debian.org/debian-lts-announce/2022/05/msg00027.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVEO7BEFXPBVHSPYL3YKQWZI6DYXQLFS/
- https://security.netapp.com/advisory/ntap-20220311-0005/
- https://www.debian.org/security/2022/dsa-5196