CVE-2021-22137
Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch
Reported by elastic · Published May 13, 2021
elasticsearch-rest-client is fixed in 7.11.1 and 6.8.14 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.elasticsearch.client:elasticsearch-rest-client | Maven Central | 7.11.1, 6.8.14 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Elasticsearch | before 7.11.2 and 6.8.15 |
| Elastic | Elasticsearch | 7.11.2 |
Timeline
- May 13, 2021 CVE Published
- May 14, 2021 EPSS Score (30 in total, the first dated here)
- Jan 28, 2024 PoC Published
- Mar 19, 2026 Security Advisory
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22137
vulnetix vdb fixes CVE-2021-22137
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22137/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart