CVE-2022-36364
publishedApache Calcite Avatica JDBC driver `httpclient_impl` connection property can be used as an RCE vector
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Calcite AvaticaApache Calcite Avatica to < 1.22.0 | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Calcite Avatica | Apache Calcite Avatica to < 1.22.0 (affected · custom) | apache · cna |
Weaknesses
1- CWE-665 CWE-665 Improper Initialization
References
2- [oss-security] 20220728 CVE-2022-36364: Apache Calcite Avatica JDBC driver `httpclient_impl` connection property can be used as an RCE vector http://www.openwall.com/lists/oss-security/2022/07/28/1
- https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c
Provider assertions
2apache · cna
Apache Calcite Avatica JDBC driver `httpclient_impl` connection property can be used as an RCE vector
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b4fb9c1d6c677f4bea70c6f3cfe1f74a1ba47e60b5a128bfb2773649731a0956
- Ingested
- 23 Sep 2026, 08:01:29 UTC
- Source record
- Official CVE record