Live threats

All CVEs / Apache

CVE-2022-36364Apache Calcite Avatica

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
Yes
Published
Jul 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-665
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Apache Calcite Avatica.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.calcite.avatica:avatica-core < 1.22.0 1.22.0 —

Per OSV / GitHub Advisories (GHSA-w7f5-jrpr-5c2m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheapache_calcite_avatica< 1.22.0

Official sources

References

Links published by the sources. Open them with care.