CVE-2020-7020
Privilege Context Switching Error in Elasticsearch
Description
Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | < 6.8.13>= 7.0.0, < 7.9.2 | 6.8.13, 7.9.2 |
Blast radius
57% of the dependent artifacts (2,244) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 25,754 |
| 2 hops | 54,197 |
| 3 hops | 31,623 |
| 4 hops | 19,594 |
| 5 hops | 9,182 |
| 6 hops | 3,461 |
Most used dependents
- com.atlassian.confluence » confluence724 usages
- 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.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.springframework.boot » spring-boot-starter-data-elasticsearch193 usages
- com.atlassian.confluence » confluence-test-support158 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- com.atlassian.confluence » confluence-webdriver-support143 usages
- org.springframework.data » spring-data-elasticsearch126 usages
- com.atlassian.confluence » atlassian-confluence-pageobjects119 usages
- org.elasticsearch.plugin » transport-netty4-client116 usages
- io.searchbox » jest114 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-2020-7020 | nvd.nist.gov |
| Package | elastic/elasticsearch | github.com |
| Web | t/elastic-stack-7-9-3-and-6-8-13-security-update/253033 | discuss.elastic.co |
| Web | advisory/ntap-20201123-0001 | security.netapp.com |
| Web | community/security | staging-website.elastic.co |
