ID CVE-2022-39135
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.
References
Vulnerable Configurations
  • cpe:2.3:a:apache:calcite:0.9.1:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:0.9.1:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:0.9.2:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:0.9.2:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.0.0:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.0.0:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.1.0:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.1.0:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.2.0:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.2.0:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.3.0:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.3.0:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.4.0:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.4.0:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.6.0:-:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.6.0:-:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.6.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.6.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.13.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.15.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.16.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.17.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.17.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.18.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.18.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.19.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.19.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.20.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.20.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.21.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.21.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.22.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.22.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.23.0:-:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.23.0:-:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.23.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.23.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.23.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.23.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.24.0:-:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.24.0:-:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.24.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.24.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.25.0:-:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.25.0:-:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.25.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.25.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.26:*:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.26:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.26.0:-:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.26.0:-:*:*:*:*:*:*
  • cpe:2.3:a:apache:calcite:1.26.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:apache:calcite:1.26.0:rc0:*:*:*:*:*:*
CVSS
Base: None
Impact:
Exploitability:
CWE CWE-611
CAPEC
  • XML External Entities Blowup
    This attack takes advantage of the entity replacement property of XML where the value of the replacement is a URI. A well-crafted XML document could have the entity refer to a URI that consumes a large amount of resources to create a denial of service condition. This can cause the system to either freeze, crash, or execute arbitrary code depending on the URI.
Access
VectorComplexityAuthentication
Impact
ConfidentialityIntegrityAvailability
Last major update 20-09-2023 - 18:15
Published 11-09-2022 - 12:15
Last modified 20-09-2023 - 18:15
Back to Top