{"cve":"CVE-2022-39135","nvd":{"published":"2022-09-11T12:15:08.437","modified":"2026-06-17T04:57:41.723","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-611"],"references":["http://www.openwall.com/lists/oss-security/2022/11/21/3","https://lists.apache.org/thread/ohdnhlgm6jvt3srw8l7spkm2d5vwm082","http://www.openwall.com/lists/oss-security/2022/11/21/3","https://lists.apache.org/thread/ohdnhlgm6jvt3srw8l7spkm2d5vwm082"],"products":["apache:calcite"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-39135","score":0.02201,"percentile":0.82525,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-fj2m-w3wv-x9pr","url":"https://osv.dev/vulnerability/GHSA-fj2m-w3wv-x9pr","summary":"Apache Calcite before 1.32.0 vulnerable to potential XML External Entity (XXE) attack","modified":"2026-09-29T21:30:09.149150258Z","packages":[{"ecosystem":"Maven","name":"org.apache.calcite:calcite-core","purl":"pkg:maven/org.apache.calcite/calcite-core","ranges":[">=1.22.0 <1.32.0"],"fixed":["1.32.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}