CVE intelligence and bounded remediation
CVE-2018-17247 — Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API
Elasticsearch Security versions 6.5.0 and 6.5.1 contain an XXE flaw in Machine Learning's find_file_structure API. If a policy allowing external network access has been added to Elasticsearch's Java Security Manager then an attacker could send a specially crafted request capable of leaking content of local files on the Elasticsearch node. This could allow a user to access information that they should not have access to.
- Severity
- Medium
- CVSS
- 5.9 (3.0)
- Published
- 2018-12-20
- CISA KEV
- Not currently listed
- Ecosystem
- java/maven
- Weaknesses
- CWE-611
Affected products
- elastic / elasticsearch / 6.5.0
- elastic / elasticsearch / 6.5.1
Matched remediation archetype
XML external entity and unsafe XML processing
This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.
Check exposure
- Inventory XML parsers used by APIs, file imports, office or image formats, identity protocols, feeds, and background jobs.
- Determine whether document type declarations, external entities, XInclude, schemas, or network resolvers are enabled.
- Map parser filesystem and network access and the sensitivity of documents it processes.
Remediate safely
- Configure each parser to reject document type declarations and disable external entity, XInclude, and network resolution features.
- Prefer a data format or hardened parser that does not support external resolution, and apply input size and depth limits.
- Update affected XML libraries and centralize secure parser construction so callers cannot silently override it.
Authoritative sources
Complete CVE record and remediation plan
The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.