CVE-2020-7020
Privilege Context Switching Error in Elasticsearch
Reported by elastic · Published October 22, 2020
elasticsearch is fixed in 7.9.2 and 6.8.13 (Maven Central)
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.
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.9.2, 6.8.13 |
| elasticsearch | Bitnami | 7.9.2, 6.8.13 |
| elasticsearch | Bitnami | 7.9.2, 6.8.13 |
| elasticsearch | elastic | 7.9.2, 6.8.13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Elasticsearch | before 6.8.13 and 7.9.2 |
| Maven | org.elasticsearch:elasticsearch | 0, 7.0.0 |
| Elastic | Elasticsearch | 6.8.13 |
Timeline
- Oct 22, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (27 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 29, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (26 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-7020
vulnetix vdb fixes CVE-2020-7020
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-2020-7020/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2020-7020 advisory
- https://github.com/advisories/GHSA-g9fw-9x87-rmrj advisory