5.3medium
API information disclosure flaw in Elasticsearch
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.34% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- elastic
- Also known as
- GHSA-62ww-4p3p-7fhjBIT-ELASTICSEARCH-2021-22135
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Elastic Elasticsearch | before 7.11.2 and 6.8.15, before 6.8.15, from 7.11.0 before 7.11.2 | CVE List, NVD |
| org.elasticsearch:elasticsearch (Maven) | from 7.0.0 before 7.11.2, before 6.8.15 | GitHub Advisory Database |
| elasticsearch (Bitnami) | before 6.8.15, from 7.11.0 before 7.11.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
Elasticsearch versiones anteriores a 7.11.2 y 6.8.15, contienen un fallo en la divulgación de documentos que se encontró en la API suggester y profile de Elasticsearch cuando Document and Field Level Security está habilitada. La API suggester y profile normalmente están deshabilitadas para un índice cuando la seguridad a nivel de documento está habilitada en el índice. Determinadas consultas son capaces de habilitar el profiler y suggester, lo que podría conllevar a revelar la existencia de documentos y campos que el atacante no sería capaz de visualizar
References
| https://discuss.elastic.co/t/elastic-stack-7-12-0-and-6-8-15-security-update/268125 | advisory, vendor-advisory, web | |
| https://security.netapp.com/advisory/ntap-20210625-0003/ | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22135 | advisory, web | |
| https://security.netapp.com/advisory/ntap-20210625-0003 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22135 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-62ww-4p3p-7fhj changed 2024-02-17 | CC-BY-4.0 |
| NVD | CVE-2021-22135 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ELASTICSEARCH-2021-22135 changed 2026-09-08 | Apache-2.0 |