CVE-2021-22137: elastic elasticsearch
Vulnerability summary
CVE-2021-22137 is a medium (CVSS 5.3) vulnerability in elastic elasticsearch. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.3% of scored vulnerabilities.
Timeline
- 13-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.19%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
+0.08 pp
From 1.11% on 18-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-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-281Improper Preservation of PermissionsThe product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.
Affected systems
Elastic1 product
- elasticsearch< 7.11.2 and 6.8.15 | < 6.8.15 | ≥ 7.11.0, < 7.11.2
Org.elasticsearch1 product
- elasticsearch≥ 7.11.0, < 7.11.2 | < 6.8.15
Ubuntu1 product
- elasticsearchAll versions (No fix recorded)
3 vendors · 3 products
References
7 links- discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125X Refsource MISCWEBVendor Advisory