CVE-2022-39135

Apache Calcite: potential XEE attacks

Description

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 0.08%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Calcite
Published at:
Updated at:

References

Link Tags
https://lists.apache.org/thread/ohdnhlgm6jvt3srw8l7spkm2d5vwm082 vendor advisory mailing list
http://www.openwall.com/lists/oss-security/2022/11/21/3 mailing list mitigation third party advisory

Frequently Asked Questions

What is the severity of CVE-2022-39135?
CVE-2022-39135 has been scored as a critical severity vulnerability.
How to fix CVE-2022-39135?
To fix CVE-2022-39135, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-39135 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-39135 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-39135?
CVE-2022-39135 affects Apache Software Foundation Apache Calcite.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.