CVE-2021-22135
MEDIUM 5.3CVSS 3.1API information disclosure flaw in Elasticsearch
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.
- Published
- 13 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@elastic.co
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- BIT-elasticsearch-2021-22135GHSA-62ww-4p3p-7fhj
- Sources
- NVDJSONOSV GHSA-62ww-4p3p-7fhjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
< 6.8.15 | 6.8.15 |
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 7.11.0, < 7.11.2 | 7.11.2 |
| OSV | Maven | org.elasticsearch:elasticsearch | >= 7.0.0, < 7.11.2 | 7.11.2 |
| OSV | Maven | org.elasticsearch:elasticsearch | < 6.8.15 | 6.8.15 |
References
- https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125 · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210625-0003/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22135 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 13 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Jul 2021)