CVE-2020-7020: elastic elasticsearch Privilege Context Switching Error
Vulnerability summary
CVE-2020-7020 is a low (CVSS 3.5) Privilege Context Switching Error vulnerability in elastic elasticsearch. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 64.7% of scored vulnerabilities.
Timeline
- 22-10-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · MavenEcosystem advisory · calculated3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVDNIST3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.08%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
+0.07 pp
From 1.01% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-270Privilege Context Switching ErrorThe product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.
- CWE-269Improper Privilege ManagementThe product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
Affected systems
Elastic1 product
- elasticsearch< 6.8.13 and 7.9.2 | < 6.8.13 | ≥ 7.0.0, < 7.9.2
Org.elasticsearch1 product
- elasticsearch< 6.8.13 | ≥ 7.0.0, < 7.9.2
Ubuntu1 product
- elasticsearchAll versions (No fix recorded)
3 vendors · 3 products
References
9 links- staging-website.elastic.co/community/security/X Refsource MISCREPORTPermissions RequiredVendor Advisory
- discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033X Refsource MISCREPORTWEBRelease NotesVendor Advisory