Live threats

All CVEs / Apache

CVE-2022-39135Apache Calcite

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Sep 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Apache Calcite 1.22.0 introduced the SQL operators EXISTS_NODE, EXTRACT_XML, XML_TRANSFORM and EXTRACT_VALUE do not restrict XML External Entity references in their configuration, making them vulnerable to a potential XML External Entity (XXE) attack. Therefore any client exposing these operators, typically by using Oracle dialect (the first three) or MySQL dialect (the last one), is affected by this vulnerability (the extent of it will depend on the user under which the application is running). From Apache Calcite 1.32.0 onwards, Document Type Declarations and XML External Entity resolution are disabled on the impacted operators.

Original NVD text.

What to do

  1. Apply the vendor's security update for Calcite.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

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

Per OSV / GitHub Advisories (GHSA-fj2m-w3wv-x9pr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachecalcite≥ 1.22.0 < 1.32.0

Official sources

References

Links published by the sources. Open them with care.