CVE-2021-31231: Medium severity 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 passwordfile 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 Software
Event History
Frequently Asked Questions
What is CVE-2021-31231?
CVE-2021-31231 is a local file disclosure vulnerability in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1.
How severe is CVE-2021-31231?
CVE-2021-31231 has a severity value of 5.5, which is considered medium.
Which software versions are affected by CVE-2021-31231?
Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 are affected by CVE-2021-31231.
What is the attack vector for CVE-2021-31231?
The attack vector for CVE-2021-31231 is using the HTTP basic auth password_file as a webhook to send any file content.
How can I fix CVE-2021-31231?
To fix CVE-2021-31231, update Grafana Enterprise Metrics and Metrics Enterprise to version 1.2.1 or later.