CVE-2021-22135: Infoleak

Published Mar 25, 2021
·
Updated

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

4 affected componentsFixes available
redhat/elasticsearch<7.11.2
7.11.2
redhat/elasticsearch<6.8.15
6.8.15
Elastic Elasticsearch<6.8.15
Elastic Elasticsearch>=7.11.0<7.11.2

Event History

Mar 25, 2021
Data Sourced
via Red Hat·02:43 PM
DescriptionSeverityAffected Software
May 13, 2021
CVE Published
via MITRE·05:35 PM
Data Sourced
via MITRE·05:35 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2021-22135.

2

What is the severity of CVE-2021-22135?

The severity of CVE-2021-22135 is medium with a severity value of 5.3.

3

Which versions of Elasticsearch are affected?

Elasticsearch versions before 7.11.2 and 6.8.15 are affected.

4

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.

5

How can I fix CVE-2021-22135?

To fix CVE-2021-22135, upgrade to Elasticsearch version 7.11.2 or 6.8.15.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203