Vulnerabilities · 2021 · Grafana
CVE-2021-31231
Grafana Enterprise Metrics vulnerability
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 products
Enterprise Metrics. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Grafana Enterprise Metrics runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- community.grafana.com/c/security-announcements · Vendor Advisory
- grafana.com/docs/metrics-enterprise/ · Vendor Advisory
- grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021 · Vendor Advisory
- grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021 · Vendor Advisory
- security.netapp.com/advisory/ntap-20210611-0001/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-31231
- cve.org/CVERecord?id=CVE-2021-31231
More vulnerabilities in Grafana products
CVE-2025-41115CVE-2025-4123CVE-2024-10452CVE-2024-9264CVE-2024-8996CVE-2024-8975CVE-2024-5526CVE-2024-1442All 84
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.