{"cve":"CVE-2022-36364","nvd":{"published":"2022-07-28T09:15:08.350","modified":"2026-06-17T04:53:19.843","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-665"],"references":["http://www.openwall.com/lists/oss-security/2022/07/28/1","https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c","http://www.openwall.com/lists/oss-security/2022/07/28/1","https://lists.apache.org/thread/5csdj8bv4h3hfgw27okm84jh1j2fyw0c"],"products":["apache:apache_calcite_avatica"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2022-36364","score":0.03159,"percentile":0.87982,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w7f5-jrpr-5c2m","url":"https://osv.dev/vulnerability/GHSA-w7f5-jrpr-5c2m","summary":"Apache Calcite Avatica JDBC driver arbitrary code execution","modified":"2026-09-10T03:49:44.812245547Z","packages":[{"ecosystem":"Maven","name":"org.apache.calcite.avatica:avatica-core","purl":"pkg:maven/org.apache.calcite.avatica/avatica-core","ranges":["<1.22.0"],"fixed":["1.22.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}