CVEvulnerability
CVE-2021-31231
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-04-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:P/I:N/A:N
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 configurations
• grafana enterprise metrics (< 1.2.1)
References
- https://community.grafana.com/c/security-announcements Broken Link, Vendor Advisory
- https://grafana.com/docs/metrics-enterprise/ Product, 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
- https://community.grafana.com/c/security-announcements Broken Link, Vendor Advisory
- https://grafana.com/docs/metrics-enterprise/ Product, 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