Vulnerabilities · 2021 · Elastic
CVE-2021-22135
Elasticsearch vulnerability
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.
Affected products
Elasticsearch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Elasticsearch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Elastic products
CVE-2026-0543CVE-2026-0531CVE-2026-0530CVE-2026-0528CVE-2025-68422CVE-2025-68390CVE-2025-68389CVE-2025-68387All 204
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.