Apache Calcite Avatica JDBC driver `httpclient_impl` connection property can be used as an RCE vector
Published Jul 28, 2022
8.8
HIGHCVSS 3.1
EPSS 3.20%
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 products
-
- Version Apache Calcite AvaticaStatusaffectedConstraints<1.22.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Calcite Avatica | n/a |
|
- < 1.22.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.20% (0.03199) | 87.69th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.19% (0.02186) | 79.98th | v5 (v2026.06.15) |
| Jan 4, 2026 | 11.79% (0.11793) | 93.48th | v4 (v2025.03.14) |
| Dec 16, 2025 | 10.60% (0.10602) | 93.02th | v4 (v2025.03.14) |
| Nov 21, 2025 | 8.09% (0.08095) | 91.79th | v4 (v2025.03.14) |
| Nov 18, 2025 | 10.38% (0.10378) | 92.44th | v4 (v2025.03.14) |
| Oct 17, 2025 | 8.09% (0.08095) | 91.72th | v4 (v2025.03.14) |
| Aug 9, 2025 | 12.97% (0.12971) | 93.77th | v4 (v2025.03.14) |
| Jul 29, 2025 | 10.87% (0.10865) | 93.06th | v4 (v2025.03.14) |
| Apr 22, 2025 | 13.38% (0.13383) | 93.75th | v4 (v2025.03.14) |
| Mar 30, 2025 | 9.09% (0.09085) | 91.86th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.85% (0.19847) | 92.58th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.09% (0.09085) | 92.03th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.18% (0.00178) | 56.28th | v3 (v2023.03.01) |
| Jul 12, 2024 | 0.17% (0.00168) | 53.84th | v3 (v2023.03.01) |
| Mar 4, 2024 | 0.10% (0.00103) | 40.72th | v3 (v2023.03.01) |
| Feb 18, 2024 | 0.10% (0.00098) | 39.56th | v3 (v2023.03.01) |
| Aug 30, 2023 | 0.11% (0.00109) | 43.02th | v3 (v2023.03.01) |
| Aug 4, 2023 | 0.11% (0.00115) | 44.33th | v3 (v2023.03.01) |
| Jul 10, 2023 | 0.13% (0.00132) | 47.26th | v3 (v2023.03.01) |
| Jun 4, 2023 | 0.11% (0.00115) | 44.04th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.10% (0.00096) | 38.74th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.98% (0.01978) | 79.27th | v2 (v2022.01.01) |
| Aug 4, 2022 | 1.98% (0.01978) | 78.23th | v2 (v2022.01.01) |
| Jul 29, 2022 | 3.95% (0.03948) | 85.11th | v2 (v2022.01.01) |
References (5)
- http://www.openwall.com/lists/oss-security/2022/07/28/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://github.com/advisories/GHSA-w7f5-jrpr-5c2m Advisory
- https://github.com/apache/calcite-avatica/commit/0c097b6a685fc1f97f151505a219976f15ed0c4c
- https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c x_refsource_MISCMailing ListVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-36364
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2022/07/28/1 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://github.com/advisories/GHSA-w7f5-jrpr-5c2m | Advisory | |
| https://github.com/apache/calcite-avatica/commit/0c097b6a685fc1f97f151505a219976f15ed0c4c | ||
| https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c | x_refsource_MISCMailing ListVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-36364 |
Change history (0)
No recorded changes yet.