Vulnerability Details 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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.04
EPSS Ranking 87.9%
CVSS Severity
CVSS v3 Score 7.0
CVSS v2 Score 7.5
Products affected by CVE-2022-21724
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:-
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.0.0
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.1.0
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.1.1
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.1.2
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.1.3
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.1.4
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.0
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.1
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.10
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.11
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.12
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.13
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.14
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.15
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.16
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.17
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.18
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.19
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.2
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.20
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.21
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.22
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.23
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.24
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.3
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.4
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.5
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.6
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.7
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.8
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.2.9
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.3.0
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.3.1
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.3.2
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:8.1
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.0-801
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.1-901
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.1-902
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.2-1000
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.2-1001
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.2-1002
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.2-1003
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.2-1004
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.3-1100
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.3-1101
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.3-1102
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.3-1103
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4-1200
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4-1201
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4-1202
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4-1203
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4-1204
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4-1205
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4-1206
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4.1207
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4.1208
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4.1209
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4.1210
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4.1211
-
cpe:2.3:a:postgresql:postgresql_jdbc_driver:9.4.1212
-
cpe:2.3:a:quarkus:quarkus:0.0.1
-
cpe:2.3:a:quarkus:quarkus:0.1.0
-
cpe:2.3:a:quarkus:quarkus:0.10.0
-
cpe:2.3:a:quarkus:quarkus:0.11.0
-
cpe:2.3:a:quarkus:quarkus:0.12.0
-
cpe:2.3:a:quarkus:quarkus:0.13.0
-
cpe:2.3:a:quarkus:quarkus:0.13.1
-
cpe:2.3:a:quarkus:quarkus:0.13.2
-
cpe:2.3:a:quarkus:quarkus:0.13.3
-
cpe:2.3:a:quarkus:quarkus:0.14.0
-
cpe:2.3:a:quarkus:quarkus:0.15.0
-
cpe:2.3:a:quarkus:quarkus:0.16.0
-
cpe:2.3:a:quarkus:quarkus:0.16.1
-
cpe:2.3:a:quarkus:quarkus:0.17.0
-
cpe:2.3:a:quarkus:quarkus:0.18.0
-
cpe:2.3:a:quarkus:quarkus:0.19.0
-
cpe:2.3:a:quarkus:quarkus:0.19.1
-
cpe:2.3:a:quarkus:quarkus:0.2.0
-
cpe:2.3:a:quarkus:quarkus:0.20.0
-
cpe:2.3:a:quarkus:quarkus:0.21.0
-
cpe:2.3:a:quarkus:quarkus:0.21.1
-
cpe:2.3:a:quarkus:quarkus:0.21.2
-
cpe:2.3:a:quarkus:quarkus:0.22.0
-
cpe:2.3:a:quarkus:quarkus:0.23.0
-
cpe:2.3:a:quarkus:quarkus:0.23.1
-
cpe:2.3:a:quarkus:quarkus:0.23.2
-
cpe:2.3:a:quarkus:quarkus:0.24.0
-
cpe:2.3:a:quarkus:quarkus:0.25.0
-
cpe:2.3:a:quarkus:quarkus:0.26.0
-
cpe:2.3:a:quarkus:quarkus:0.26.1
-
cpe:2.3:a:quarkus:quarkus:0.27.0
-
cpe:2.3:a:quarkus:quarkus:0.28.0
-
cpe:2.3:a:quarkus:quarkus:0.28.1
-
cpe:2.3:a:quarkus:quarkus:0.3.0
-
cpe:2.3:a:quarkus:quarkus:0.4.0
-
cpe:2.3:a:quarkus:quarkus:0.5.0
-
cpe:2.3:a:quarkus:quarkus:0.6.0
-
cpe:2.3:a:quarkus:quarkus:0.7.0
-
cpe:2.3:a:quarkus:quarkus:0.8.0
-
cpe:2.3:a:quarkus:quarkus:0.9.0
-
cpe:2.3:a:quarkus:quarkus:0.9.1
-
cpe:2.3:a:quarkus:quarkus:1.0.0
-
cpe:2.3:a:quarkus:quarkus:1.0.1
-
cpe:2.3:a:quarkus:quarkus:1.1.0
-
cpe:2.3:a:quarkus:quarkus:1.1.1
-
cpe:2.3:a:quarkus:quarkus:1.10.0
-
cpe:2.3:a:quarkus:quarkus:1.10.1
-
cpe:2.3:a:quarkus:quarkus:1.10.2
-
cpe:2.3:a:quarkus:quarkus:1.10.3
-
cpe:2.3:a:quarkus:quarkus:1.10.4
-
cpe:2.3:a:quarkus:quarkus:1.10.5
-
cpe:2.3:a:quarkus:quarkus:1.11.0
-
cpe:2.3:a:quarkus:quarkus:1.11.1
-
cpe:2.3:a:quarkus:quarkus:1.11.2
-
cpe:2.3:a:quarkus:quarkus:1.11.3
-
cpe:2.3:a:quarkus:quarkus:1.11.4
-
cpe:2.3:a:quarkus:quarkus:1.11.5
-
cpe:2.3:a:quarkus:quarkus:1.11.6
-
cpe:2.3:a:quarkus:quarkus:1.11.7
-
cpe:2.3:a:quarkus:quarkus:1.12.0
-
cpe:2.3:a:quarkus:quarkus:1.12.1
-
cpe:2.3:a:quarkus:quarkus:1.12.2
-
cpe:2.3:a:quarkus:quarkus:1.13.0
-
cpe:2.3:a:quarkus:quarkus:1.13.1
-
cpe:2.3:a:quarkus:quarkus:1.13.2
-
cpe:2.3:a:quarkus:quarkus:1.13.3
-
cpe:2.3:a:quarkus:quarkus:1.13.4
-
cpe:2.3:a:quarkus:quarkus:1.13.5
-
cpe:2.3:a:quarkus:quarkus:1.13.6
-
cpe:2.3:a:quarkus:quarkus:1.13.7
-
cpe:2.3:a:quarkus:quarkus:1.2.0
-
cpe:2.3:a:quarkus:quarkus:1.2.1
-
cpe:2.3:a:quarkus:quarkus:1.3.0
-
cpe:2.3:a:quarkus:quarkus:1.3.1
-
cpe:2.3:a:quarkus:quarkus:1.3.2
-
cpe:2.3:a:quarkus:quarkus:1.3.3
-
cpe:2.3:a:quarkus:quarkus:1.3.4
-
cpe:2.3:a:quarkus:quarkus:1.4.0
-
cpe:2.3:a:quarkus:quarkus:1.4.1
-
cpe:2.3:a:quarkus:quarkus:1.4.2
-
cpe:2.3:a:quarkus:quarkus:1.5.0
-
cpe:2.3:a:quarkus:quarkus:1.5.1
-
cpe:2.3:a:quarkus:quarkus:1.5.2
-
cpe:2.3:a:quarkus:quarkus:1.6.0
-
cpe:2.3:a:quarkus:quarkus:1.6.1
-
cpe:2.3:a:quarkus:quarkus:1.7.0
-
cpe:2.3:a:quarkus:quarkus:1.7.1
-
cpe:2.3:a:quarkus:quarkus:1.7.2
-
cpe:2.3:a:quarkus:quarkus:1.7.3
-
cpe:2.3:a:quarkus:quarkus:1.7.4
-
cpe:2.3:a:quarkus:quarkus:1.7.5
-
cpe:2.3:a:quarkus:quarkus:1.7.6
-
cpe:2.3:a:quarkus:quarkus:1.8.0
-
cpe:2.3:a:quarkus:quarkus:1.8.1
-
cpe:2.3:a:quarkus:quarkus:1.8.2
-
cpe:2.3:a:quarkus:quarkus:1.8.3
-
cpe:2.3:a:quarkus:quarkus:1.9.0
-
cpe:2.3:a:quarkus:quarkus:1.9.1
-
cpe:2.3:a:quarkus:quarkus:1.9.2
-
cpe:2.3:a:quarkus:quarkus:2.0.0
-
cpe:2.3:a:quarkus:quarkus:2.0.1
-
cpe:2.3:a:quarkus:quarkus:2.0.2
-
cpe:2.3:a:quarkus:quarkus:2.0.3
-
cpe:2.3:a:quarkus:quarkus:2.1.0
-
cpe:2.3:a:quarkus:quarkus:2.1.1
-
cpe:2.3:a:quarkus:quarkus:2.1.2
-
cpe:2.3:a:quarkus:quarkus:2.1.3
-
cpe:2.3:a:quarkus:quarkus:2.1.4
-
cpe:2.3:a:quarkus:quarkus:2.2.0
-
cpe:2.3:a:quarkus:quarkus:2.2.1
-
cpe:2.3:a:quarkus:quarkus:2.2.2
-
cpe:2.3:a:quarkus:quarkus:2.2.3
-
cpe:2.3:a:quarkus:quarkus:2.2.4
-
cpe:2.3:a:quarkus:quarkus:2.2.5
-
cpe:2.3:a:quarkus:quarkus:2.3.0
-
cpe:2.3:a:quarkus:quarkus:2.3.1
-
cpe:2.3:a:quarkus:quarkus:2.4.0
-
cpe:2.3:a:quarkus:quarkus:2.4.1
-
cpe:2.3:a:quarkus:quarkus:2.4.2
-
cpe:2.3:a:quarkus:quarkus:2.5.0
-
cpe:2.3:a:quarkus:quarkus:2.5.1
-
cpe:2.3:a:quarkus:quarkus:2.5.2
-
cpe:2.3:a:quarkus:quarkus:2.5.3
-
cpe:2.3:a:quarkus:quarkus:2.5.4
-
cpe:2.3:a:quarkus:quarkus:2.6.0
-
cpe:2.3:a:quarkus:quarkus:2.6.1
-
cpe:2.3:a:quarkus:quarkus:2.6.2
-
cpe:2.3:a:quarkus:quarkus:2.6.3
-
cpe:2.3:a:quarkus:quarkus:2.7.0
-
cpe:2.3:a:quarkus:quarkus:2.7.1
-
cpe:2.3:o:debian:debian_linux:10.0
-
cpe:2.3:o:debian:debian_linux:11.0
-
cpe:2.3:o:debian:debian_linux:9.0
-
cpe:2.3:o:fedoraproject:fedora:35