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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | >= 6.5.0, < 6.5.2 | 6.5.2 |
Blast radius
7% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 39 |
| 2 hops | 51 |
| 3 hops | 27 |
| 4 hops | 8 |
| 5 hops | 24 |
Most used dependents
- org.elasticsearch.client » elasticsearch-rest-high-level-client684 usages
- org.elasticsearch.client » transport312 usages
- org.springframework.data » spring-data-elasticsearch126 usages
- org.elasticsearch.test » framework92 usages
- org.codelibs » elasticsearch-cluster-runner66 usages
- org.codelibs.fess » fess35 usages
- org.wildfly.camel » wildfly-camel-feature-pack25 usages
- org.codelibs.elasticsearch.module » lang-painless17 usages
- org.apache.camel » camel-elasticsearch-rest15 usages
- org.wildfly.camel » wildfly-camel-patch10 usages
- org.wildfly.camel » wildfly-camel-feature-extrasB4 usages
- org.wildfly.camel » wildfly-camel-feature-extrasC4 usages
- org.wildfly.camel » wildfly-camel-itests-standalone-basic4 usages
- org.wildfly.camel » wildfly-camel-itests-standalone-smoke4 usages
- com.netflix.conductor » conductor-es6-persistence4 usages
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
| Advisory | NVD CVE-2018-17247 | nvd.nist.gov |
| Web | t/elastic-stack-6-5-2-security-update/159594 | discuss.elastic.co |
| Web | community/security | elastic.co |
| Web | bid/106294 | securityfocus.com |
