CVE-2022-36364 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c | CVE | Mailing ListVendor Advisory |
| http://www.openwall.com/lists/oss-security/2022/07/28/1 | CVE | Mailing ListThird Party Advisory |
| https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c | [email protected] | Mailing ListVendor Advisory |
| http://www.openwall.com/lists/oss-security/2022/07/28/1 | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-665 | Improper Initialization | [email protected] |
| CWE-665 | Improper Initialization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache apache calcite avatica | < 1.22.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 3, 2022 | Initial Analysis | [email protected] |
| Jul 28, 2022 | CVE Modified | [email protected] |