Read the docs
TI-2022-16705 Aliases CVE-2022-36364GHSA-w7f5-jrpr-5c2m

Apache Calcite Avatica JDBC driver `httpclient_impl` connection property can be used as an RCE vector

Priority MEDIUM 44CWE-665Published · Updated

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

EPSS 0.03159 88th percentileScored 2026-11-07
Fix Fixed Apache Calcite Avatica (Apache Software Foundation): 1.22.0org.apache.calcite.avatica:avatica-core (Maven): 1.22.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Calcite AvaticaApache Calcite Avatica to before 1.22.01.22.0Patch availableCNA
—org.apache.calcite.avatica:avatica-core (Maven)before 1.22.01.22.0Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:apache_calcite_avatica:*:*:*:*:*:*:*:*before 1.22.0VulnerableApache
  • cpe:2.3:a:apache:apache_calcite_avatica:*:*:*:*:*:*:*:* Versions before 1.22.0 Vulnerable ·Apache

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

  1. 2026-10-02 Threatist record created from CVE-2022-36364
  2. 2026-10-03 Alias added: GHSA-w7f5-jrpr-5c2m

References

Sources