Local File Disclosure Vulnerability in Grafana Enterprise Metrics
CVE-2021-31231
Key Information:
- Vendor
Grafana
- Status
- CVE ID
- CVE ID:
- CVE-2021-31231
- Vendor
- CVE Published:
- 30 April 2021
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Why it's rated "Monitor"
- Its CVSS severity is medium (5.5).
What is CVE-2021-31231?
The Alertmanager component in Grafana Enterprise Metrics versions prior to 1.2.1 is susceptible to local file disclosure. This vulnerability can be exploited when the experimental.alertmanager.enable-api feature is enabled. An attacker could leverage this flaw to access sensitive file content by using the HTTP basic authentication password_file as an attack vector, as well as through alertmanager templates that can reference any specified text file. It is crucial for organizations using affected versions to take immediate action to secure their deployments and patch to the latest version.
References
More Grafana Vulnerabilities
Server-side Request Forgery in mcp-grafana
Remote Code Execution Vulnerability in Grafana Enterprise Plugin
HTML Injection in Grafana
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction