CVE-2018-17247: Improper Restriction of XML External Entity Reference in Elasticsearch
5.9
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57295%
CWE
Published
5/13/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.elasticsearch:elasticsearch | maven | >= 6.5.0, < 6.5.2 | 6.5.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability centers around insecure XML parsing in Machine Learning's find_file_structure API. While no patch code is provided, the advisory explicitly identifies the affected component. In Elasticsearch's architecture:
- TransportAction.doExecute methods handle API request execution
- FileStructureFinderManager contains format-specific parsing logic
- XXE vulnerabilities typically manifest in DocumentBuilderFactory configuration
These functions would appear in stack traces when processing malicious XML content through the vulnerable API. The medium confidence reflects inference from architectural patterns rather than direct patch analysis.