CVE-2020-7009
Improper Privilege Management in Elasticsearch
Description
Elasticsearch versions from 6.7.0 to 6.8.7 and 7.0.0 to 7.6.1 contain a privilege escalation flaw if an attacker is able to create API keys. An attacker who is able to generate an API key can perform a series of steps that result in an API key being generated with elevated privileges.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | >= 6.7.0, < 6.8.8>= 7.0.0, < 7.6.2 | 6.8.8, 7.6.2 |
Blast radius
30% of the dependent artifacts (317) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,194 |
| 2 hops | 1,818 |
| 3 hops | 902 |
| 4 hops | 1,796 |
| 5 hops | 209 |
| 6 hops | 392 |
Most used dependents
- org.elasticsearch.client » elasticsearch-rest-high-level-client684 usages
- org.apache.camel.kafkaconnector » camel-kafka-connector616 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.elasticsearch.client » transport312 usages
- org.springframework.boot » spring-boot-starter-data-elasticsearch193 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.springframework.data » spring-data-elasticsearch126 usages
- org.apache.ranger » ranger-plugins-common98 usages
- org.elasticsearch.test » framework92 usages
- org.apache.camel » camel-catalog87 usages
- org.codelibs » elasticsearch-cluster-runner66 usages
- org.apache.ranger » ranger-plugins-audit66 usages
- org.codelibs.fess » fess35 usages
- org.eclipse.pass » pass-data-client31 usages
Computed from the dependency graph of build 20261125.2201 (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-2020-7009 | nvd.nist.gov |
| Package | elastic/elasticsearch | github.com |
| Web | t/elastic-stack-6-8-8-and-7-6-2-security-update/225920 | discuss.elastic.co |
| Web | advisory/ntap-20200403-0004 | security.netapp.com |
| Web | community/security | elastic.co |
