Security mailing lists by PureSourceCode

CVE-2022-39135

CRITICAL 9.8CVSS 3.1

Apache Calcite before 1.32.0 vulnerable to potential XML External Entity (XXE) attack

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.

Published
11 Sep 2022
Last modified
29 Sep 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-611
Also known as
GHSA-fj2m-w3wv-x9pr
Sources
NVDJSONOSV GHSA-fj2m-w3wv-x9prJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache calcite
cpe:2.3:a:apache:calcite:*:*:*:*:*:*:*:*
>= 1.22.0, < 1.32.0 1.32.0
OSV Maven org.apache.calcite:calcite-core >= 1.22.0, < 1.32.0 1.32.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 11 Sep 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.