CVE-2022-36364
Apache Calcite Avatica Remote Code Execution
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.
INFO
Published Date :
July 28, 2022, 9:15 a.m.
Last Modified :
Aug. 3, 2022, 7:36 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-36364
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2022/07/28/1 | Mailing List Third Party Advisory |
https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c | Mailing List Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-36364
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-36364
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Aug. 03, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2022/07/28/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/07/28/1 Mailing List, Third Party Advisory Changed Reference Type https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c No Types Assigned https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c Mailing List, Vendor Advisory Added CWE NIST CWE-665 Added CPE Configuration OR *cpe:2.3:a:apache:apache_calcite_avatica:*:*:*:*:*:*:*:* versions up to (excluding) 1.22.0 -
CVE Modified by [email protected]
Jul. 28, 2022
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/07/28/1 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-36364
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-36364
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.18 }} 0.03%
score
0.55554
percentile