CVE-2022-39135

Apache Calcite: potential XEE attacks

Published Sep 11, 2022 CVSS 3.1 · 9.8 Critical EPSS 2.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6798 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.
Github GHSA Github GHSA GHSA-fj2m-w3wv-x9pr Apache Calcite before 1.32.0 vulnerable to potential XML External Entity (XXE) attack
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 3, 2024, 11:10 AM
Reserved
Sep 1, 2022, 12:00 AM
Status
Modified
Published
Sep 11, 2022, 12:15 PM
Modified
Jun 17, 2026, 4:57 AM
Severity
Moderate
Public date
Sep 11, 2022, 12:00 AM