CVE-2021-22137: Infoleak
A document disclosure flaw was found in Elasticsearch 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.
References:
https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125
Other sources
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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2021-22137?
CVE-2021-22137 is a vulnerability in Elasticsearch versions before 7.11.2 and 6.8.15 that allows document disclosure when Document or Field Level Security is used.
How does CVE-2021-22137 impact Elasticsearch?
CVE-2021-22137 can result in a document disclosure flaw when executing certain cross-cluster search queries, potentially exposing sensitive information.
Which software versions are affected by CVE-2021-22137?
Elasticsearch versions before 7.11.2 and 6.8.15 are affected by CVE-2021-22137.
What is the severity of CVE-2021-22137?
CVE-2021-22137 has a severity of medium (5.3) according to the CVSS (Common Vulnerability Scoring System).
How can I fix CVE-2021-22137?
To fix CVE-2021-22137, upgrade to Elasticsearch version 7.11.2 or 6.8.15.