CVE-2021-22137
mediumpriority · track · 21EPSS 0.012 · 68 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-hr65-qq6p-87r4Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch2022-05-24ghsa · osvUS
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.
- BIT-elasticsearch-2021-221372024-03-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202103-1382cnnvd
- EUVD-2022-4199enisa_euvd
- GHSA-hr65-qq6p-87r4enisa_euvd
- BIT-elasticsearch-2021-22137osv
- GHSA-hr65-qq6p-87r4osv
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-22137cnnvd
- https://packetstormsecurity.com/files/167831/Red-Hat-Security-Advisory-2022-5606-01.htmlcnnvd
- https://packetstormsecurity.com/files/168333/Red-Hat-Security-Advisory-2022-6407-01.htmlcnnvd
- https://security.netapp.com/advisory/ntap-20210625-0003/cnnvd
- https://vigilance.fr/vulnerability/Elasticsearch-information-disclosure-via-Cross-cluster-Search-Queries-34928cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3233cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021092812cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan