ghsa-fj2m-w3wv-x9pr
Vulnerability from github
Published
2022-09-12 00:00
Modified
2022-09-16 22:02
Severity ?
Summary
Apache Calcite before 1.32.0 vulnerable to potential XML External Entity (XXE) attack
Details
In Apache Calcite prior to version 1.32.0 the SQL operators EXISTS_NODE, EXTRACT_XML, XML_TRANSFORM and EXTRACT_VALUE do not restrict XML External Entity references in their configuration, which makes 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.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.apache.calcite:calcite-core" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.32.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-39135" ], "database_specific": { "cwe_ids": [ "CWE-611" ], "github_reviewed": true, "github_reviewed_at": "2022-09-15T03:28:19Z", "nvd_published_at": "2022-09-11T12:15:00Z", "severity": "CRITICAL" }, "details": "In Apache Calcite prior to version 1.32.0 the SQL operators EXISTS_NODE, EXTRACT_XML, XML_TRANSFORM and EXTRACT_VALUE do not restrict XML External Entity references in their configuration, which makes 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.", "id": "GHSA-fj2m-w3wv-x9pr", "modified": "2022-09-16T22:02:34Z", "published": "2022-09-12T00:00:34Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39135" }, { "type": "WEB", "url": "https://lists.apache.org/thread/ohdnhlgm6jvt3srw8l7spkm2d5vwm082" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2022/11/21/3" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Apache Calcite before 1.32.0 vulnerable to potential XML External Entity (XXE) attack" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.