Skip to content
Fencer Vulns
critical 9.8

CVE-2022-39135 json

Apache Calcite: potential XEE attacks

published 2022-09-11 4 y ago modified 2026-09-29 40 d ago also GHSA-fj2m-w3wv-x9pr , EUVD-2022-6798

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.2%
EPSS 2.2% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.calcite:calcite-core 1.32.0
  • Apache Software Foundation Apache Calcite 1.32.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-39135 updated cvss 7.5

calcite: XXE via SQL operators

  • Red Hat Fuse 7 calcite calcite
    affected: no fix available “Fix deferred”
  • Red Hat Data Grid 8 calcite calcite Red Hat Integration Camel K 1 calcite calcite Red Hat JBoss Data Grid 7 calcite calcite
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.25% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.calcite:calcite-core
>=1.22.0, <1.32.0
1.32.0

Affected products

  • Apache Software Foundation Apache Calcite

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.