PT-2022-4408 · Apache · Apache Calcite Avatica Jdbc Driver

H1Pmnh

·

Published

2022-07-21

·

Updated

2026-05-18

·

CVE-2022-36364

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Apache Calcite Avatica JDBC driver versions prior to 1.22.0
Description The issue is related to the creation of HTTP client instances based on class names provided via the httpclient impl connection property. 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 this, an attacker needs to have privileges to control JDBC connection parameters and there should be a vulnerable class in the classpath.
Recommendations For versions prior to 1.22.0, update to Apache Calcite Avatica 1.22.0 or later, where the class is verified to implement the expected interface before invoking its constructor. As a temporary workaround, consider restricting access to the httpclient impl connection property to minimize the risk of exploitation.

Fix

Improper Initialization

Weakness Enumeration

Related Identifiers

BDU:2022-05272
CLEANSTART-2026-SQ91016
CLEANSTART-2026-WK99982
CVE-2022-36364
GHSA-W7F5-JRPR-5C2M

Affected Products

Apache Calcite Avatica Jdbc Driver