Vulnerability in Apache Calcite Avatica

CVE-2022-36364

Apache Calcite Avatica JDBC driver creates HTTP client instances based on class names provided via `httpclient_impl` connection property; however, the driver does not verify if the class implements the expected interface before instantiating it, which can lead to code execution loaded via arbitrary classes and in rare cases remote code execution. To exploit the vulnerability: 1) the attacker needs to have privileges to control JDBC connection parameters; 2) and there should be a vulnerable class (constructor with URL parameter and ability to execute code) in the classpath. From Apache Calcite Avatica 1.22.0 onwards, it will be verified that the class implements the expected interface before invoking its constructor.

Vulnerability class: Dirty Pipe (CVE-2022-0847)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.032 (87.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-36364: held from 0.030 to 0.032.

EPSS over last 30 days · oldest: 0.030 · newest: 0.032 · change: +0.002

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-36364?
CVE-2022-36364 is a high-severity vulnerability in Apache Calcite Avatica, classified under Improper Initialization. CVSS score: 8.8/10. Published 2022-07-28.
How severe is CVE-2022-36364?
High severity. CVSS v3 base score is 8.8 out of 10.