CVE-2021-22135: Infoleak
A document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.
References:
https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125
Other sources
Elasticsearch versions before 7.11.2 and 6.8.15 contain a document disclosure flaw was found in the Elasticsearch suggester and profile API when Document and Field Level Security are enabled. The suggester and profile API are normally disabled for an index when document level security is enabled on the index. Certain queries are able to enable the profiler and suggester which could lead to disclosing the existence of documents and fields the attacker should not be able to view.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2021-22135.
What is the severity of CVE-2021-22135?
The severity of CVE-2021-22135 is medium with a severity value of 5.3.
Which versions of Elasticsearch are affected?
Elasticsearch versions before 7.11.2 and 6.8.15 are affected.
What is the impact of the vulnerability?
The vulnerability allows for document disclosure when Document and Field Level Security are enabled in Elasticsearch suggester and profile API.
How can I fix CVE-2021-22135?
To fix CVE-2021-22135, upgrade to Elasticsearch version 7.11.2 or 6.8.15.