5.9medium
Elasticsearch privilege escalation
- Severity
- 5.9medium CVSS:3.1 by elastic
- Exploit likelihood
- 0.72% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- elastic
- Also known as
- BIT-ELASTICSEARCH-2021-37937
Description
An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Elastic Elasticsearch | from 7.13.0 before 7.14.0, from 7.13.0 up to 7.14.0 | CVE List, NVD |
| elasticsearch (Bitnami) | from 7.13.0 before 7.14.1 | Bitnami Vulnerability Database |
All scores
| elastic | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
An issue was found with how API keys are created with the Fleet-Server service account. When an API key is created with a service account, it is possible that the API key could be created with higher privileges than intended. Using this vulnerability, a compromised Fleet-Server service account could escalate themselves to a super-user.
NVD (es)
Se encontró un problema con la forma en que se crean las claves API con la cuenta de servicio Fleet-Server. Cuando se crea una clave API con una cuenta de servicio, es posible que la clave API se cree con privilegios más altos de los previstos. Al utilizar esta vulnerabilidad, una cuenta de servicio Fleet-Server comprometida podría convertirse en superusuario.
References
| https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077 | advisory, vendor-advisory | |
| https://www.elastic.co/community/security | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-37937 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37937 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-37937 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ELASTICSEARCH-2021-37937 changed 2026-09-08 | Apache-2.0 |