CVE-2021-22135
mediumpriority · track · 21EPSS 0.013 · 71 %ileEUUSEPSS · scored 2026-10-27
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.
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-62ww-4p3p-7fhjAPI information disclosure flaw in Elasticsearch2021-07-02ghsa · osvUS
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.
- BIT-elasticsearch-2021-221352024-03-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202103-1383cnnvd
- EUVD-2021-1442enisa_euvd
- GHSA-62ww-4p3p-7fhjenisa_euvd
- BIT-elasticsearch-2021-22135osv
- GHSA-62ww-4p3p-7fhjosv
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125cnnvd
- https://packetstormsecurity.com/files/167831/Red-Hat-Security-Advisory-2022-5606-01.htmlcnnvd
- https://security.netapp.com/advisory/ntap-20210625-0003/cnnvd
- https://vigilance.fr/vulnerability/Elasticsearch-information-disclosure-via-Suggester-Profile-API-34926cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.3233cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021092812cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022072066cnnvd
- https://www.elastic.co/cn/community/security#ESA-2021-08Patchcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan