{"cve":"CVE-2021-22137","nvd":{"published":"2021-05-13T18:15:09.033","modified":"2026-06-17T03:36:40.887","status":"Modified","description":"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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-281","CWE-200"],"references":["https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125","https://security.netapp.com/advisory/ntap-20210625-0003/","https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125","https://security.netapp.com/advisory/ntap-20210625-0003/"],"products":["elastic:elasticsearch"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-22137","score":0.01187,"percentile":0.67893,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hr65-qq6p-87r4","url":"https://osv.dev/vulnerability/GHSA-hr65-qq6p-87r4","summary":"Exposure of Sensitive Information to an Unauthorized Actor in Elasticsearch","modified":"2024-02-20T05:34:26.834217Z","packages":[{"ecosystem":"Maven","name":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":[">=7.11.0 <7.11.2"],"fixed":["7.11.2"]},{"ecosystem":"Maven","name":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":["<6.8.15"],"fixed":["6.8.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}