5.5medium
The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a local file disclosure vulnerability when exp…
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a local file disclosure vulnerability when experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| grafana enterprise_metrics | before 1.2.1 | NVD |
All scores
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
What each source says
CVE List
The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a local file disclosure vulnerability when experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.
NVD (es)
Alertmanager en Grafana Enterprise Metrics versiones anteriores a 1.2.1 y Metrics Enterprise versión1.2.1, presenta una vulnerabilidad de divulgación de archivos locales cuando es usado experimental.alertmanager.enable-api. El archivo de contraseña de autenticación básica HTTP se puede usar como un vector de ataque para enviar cualquier contenido de archivo por medio de un webhook. Las plantillas de alertmanager pueden ser usado como vector de ataque para enviar cualquier contenido de archivo porque alertmanager puede cargar cualquier archivo de texto especificado en la lista de plantillas.
References
| https://grafana.com/docs/metrics-enterprise/ | product, vendor-advisory | |
| https://community.grafana.com/c/security-announcements | broken-link, vendor-advisory | |
| https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021 | release-notes, vendor-advisory | |
| https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021 | release-notes, vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20210611-0001/ | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31231 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-31231 changed 2026-06-17 | Public domain |