CVE-2021-22135
API information disclosure flaw in Elasticsearch
Reported by elastic · Published May 13, 2021
elasticsearch is fixed in 7.11.2 and 6.8.15 (Maven Central)
Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.
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:elasticsearch | Maven Central | 7.11.2, 6.8.15 |
| elasticsearch | Bitnami | 7.11.2, 6.8.15 |
| elasticsearch | elastic | 7.11.2, 6.8.15 |
| elasticsearch | Bitnami | 7.11.2, 6.8.15 |
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
- Aug 3, 2024 CVE Updated
- Mar 17, 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-22135
vulnetix vdb fixes CVE-2021-22135
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-22135/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart