CVE-2021-22137
Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch
Description
In Elasticsearch versions before 7.11.2 and 6.8.15 a document disclosure flaw was found when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain cross-cluster search 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.15>= 7.11.0, < 7.11.2 | 6.8.15, 7.11.2 |
Blast radius
64% of the dependent artifacts (1,941) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 24,068 |
| 2 hops | 50,391 |
| 3 hops | 29,269 |
| 4 hops | 25,199 |
| 5 hops | 8,159 |
| 6 hops | 3,043 |
Most used dependents
- com.atlassian.confluence » confluence724 usages
- org.elasticsearch.client » elasticsearch-rest-high-level-client684 usages
- org.elasticsearch.client » transport312 usages
- org.springframework.boot » spring-boot-starter-data-elasticsearch193 usages
- com.atlassian.confluence » confluence-test-support158 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
- org.openrdf.sesame » sesame-runtime102 usages
- org.elasticsearch.test » framework92 usages
- org.nuxeo.ecm.distribution » nuxeo-distribution-cap89 usages
- com.sksamuel.elastic4s » elastic4s-core86 usages
- org.infinispan » infinispan-query79 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-2021-22137 | nvd.nist.gov |
| Package | elastic/elasticsearch | github.com |
| Web | t/elastic-stack-7-12-0-and-6-8-15-security-update/268125 | discuss.elastic.co |
| Web | advisory/ntap-20210625-0003 | security.netapp.com |
