Apache Calcite Avatica JDBC driver `httpclient_impl` connection property can be used as an RCE vector
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Calcite Avatica | Apache Calcite Avatica to before 1.22.0 | 1.22.0 | Patch available | CNA |
| — | org.apache.calcite.avatica:avatica-core (Maven) | before 1.22.0 | 1.22.0 | Patch available | GHSA-w7f5-jrpr-5c2m |
- Apache Calcite Avatica VendorApache Affected Apache Calcite Avatica to before 1.22.0 Fixed in 1.22.0 Patch available CNA
- org.apache.calcite.avatica:avatica-core (Maven) Vendor— Affected before 1.22.0 Fixed in 1.22.0 Patch available GHSA-w7f5-jrpr-5c2m
Remediation
- Fix · CNA Apache Calcite Avatica (Apache Software Foundation) Fixed in 1.22.0
- Fix · GHSA-w7f5-jrpr-5c2m org.apache.calcite.avatica:avatica-core (Maven) Fixed in 1.22.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-36364
- 2026-10-03 Alias added: GHSA-w7f5-jrpr-5c2m
References
Advisory 3
Sources
- CVE-2022-36364 · CVE Program
- CVE-2022-36364 · NVD
- FIRST EPSS
- GHSA-w7f5-jrpr-5c2m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences