MODERATE 5.9

CVE-2018-17247

Improper Restriction of XML External Entity Reference in Elasticsearch

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
>= 6.5.0, < 6.5.2
6.5.2

Blast radius

1affected artifacts
2affected versions
41dependent artifacts (est.)
149dependent versions

7% of the dependent artifacts (3) still pull an affected version in their latest release.

DepthDependent versions
Direct
39
2 hops
51
3 hops
27
4 hops
8
5 hops
24

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Webdiscuss.elastic.co
Webelastic.co
Websecurityfocus.com