CVE-2022-39135
publishedApache Calcite: potential XEE attacks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Calcite1.22.0 to < 1.32.0 | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Calcite | 1.22.0 to < 1.32.0 (affected · custom) | apache · cna |
Weaknesses
1- CWE-611 CWE-611 Improper Restriction of XML External Entity Reference
References
2- [oss-security] 20221121 Apache Solr is vulnerable to CVE-2022-39135 via /sql handler http://www.openwall.com/lists/oss-security/2022/11/21/3
- https://lists.apache.org/thread/ohdnhlgm6jvt3srw8l7spkm2d5vwm082
Provider assertions
2apache · cna
Apache Calcite: potential XEE attacks
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7f547c31247247617a2f1819c775e18235810fee1c49f4a31d37e2ba39520612
- Ingested
- 23 Sep 2026, 08:01:53 UTC
- Source record
- Official CVE record