CVE-2022-36364

Apache Calcite Avatica JDBC driver `httpclient_impl` connection property can be used as an RCE vector

HIGH
8.8
CVSS Score
Published: July 28, 2022 at 08:35 AM UTC
Updated: June 17, 2026 at 04:53 AM UTC
1 product affected across 1 vendorApache Calcite Avatica

Using Apache Calcite Avatica by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Calcite Avatica - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 3%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.22.0Apache Calcite Avatica ≤ v < 1.22.0
Affected range stops below 1.22.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Mailing Listx_refsource_MLISTThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/28/1

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-665

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card