CVE-2018-17247 json
Improper Restriction of XML External Entity Reference in Elasticsearch
published 7y ago modified 4mo ago also GHSA-ccmr-qj26-845g , EUVD-2022-3560
- cvss
- 5.9
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.elasticsearch:elasticsearch 6.5.2
Is CVE-2018-17247 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.38% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.elasticsearch:elasticsearch | >=6.5.0, <6.5.2 |
6.5.2 |
Affected products
- Elastic Elasticsearch
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
discuss.elastic.co
/t/elastic-stack-6-5-2-security-update/159594
web, vendor-advisory
-
elastic.co
/community/security
web, vendor-advisory
-
securityfocus.com
/bid/106294
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-17247
advisory
Sources
- CVE List CVE-2018-17247
- GitHub Advisory GHSA-ccmr-qj26-845g
- NVD CVE-2018-17247
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.