CVE-2021-22137: Infoleak

Published Mar 25, 2021
·
Updated

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

6 affected componentsFixes available
maven/org.elasticsearch:elasticsearch<=6.8.14
6.8.15
maven/org.elasticsearch:elasticsearch>=7.11.0<=7.11.1
7.11.2
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:46 PM
DescriptionSeverityAffected Software
May 13, 2021
CVE Published
via MITRE·05:35 PM
Data Sourced
via MITRE·05:35 PM
DescriptionWeakness
May 24, 2022
Advisory Published
07:02 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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).

5

How can I fix CVE-2021-22137?

To fix CVE-2021-22137, 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