CVE-2020-7020 json
Privilege Context Switching Error in Elasticsearch
published 2020-10-22 6 y ago modified 2026-09-08 2 mo ago also BIT-elasticsearch-2020-7020 , EUVD-2021-0657 , GHSA-g9fw-9x87-rmrj
- cvss
- 3.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.elasticsearch:elasticsearch 6.8.13, 7.9.2
- bitnami elasticsearch 6.8.13, 7.9.2
- elastic elasticsearch 6.8.13, 7.9.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7020 updated cvss 3.1
elasticsearch: not properly preserving security permissions when executing complex queries may lead to information disclosure
-
Red Hat Decision Manager 7 elasticsearchaffected: no fix available “Fix deferred”
-
Red Hat JBoss Fuse 6 elasticsearchaffected: no fix planned “Out of support scope”
-
Red Hat Process Automation 7 elasticsearchaffected: no fix available “Fix deferred”
-
Red Hat Fuse 7.11fixed: vendor fix RHSA-2022:5532
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 openshift4/ose-logging-elasticsearch5, openshift4/ose-logging-elasticsearch6not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.08% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.elasticsearch:elasticsearch | <6.8.13 >=7.0.0, <7.9.2 |
6.8.13 7.9.2 |
| bitnami | elasticsearch | <6.8.13 >=7.0.0, <7.9.2 |
6.8.13 7.9.2 |
Affected products
- Elastic Elasticsearch
Classification
References
-
staging-website.elastic.co
/community/security/
permissions-required, vendor-advisory, advisory
-
discuss.elastic.co
/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033
web, release-notes, vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20201123-0001/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7020
advisory, web
-
github.com
/elastic/elasticsearch
package
-
security.netapp.com
/advisory/ntap-20201123-0001
web
-
staging-website.elastic.co
/community/security
web
Sources
- CVE List CVE-2020-7020
- GitHub Advisory GHSA-g9fw-9x87-rmrj
- NVD CVE-2020-7020
- OSV BIT-elasticsearch-2020-7020
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.