CVE & CISA-KEV Catalog

CVE-2021-31231

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
enterprise metricsNVD
Affected:< 1.2.1Fixed in:1.2.1CVE-2021-31231derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.28%probability of exploitation in 30 days
20thpercentile

Low risk: more likely to be exploited than 20% of all known CVEs.

References

Embed a live status badge for CVE-2021-31231
CVE-2021-31231 severity badge

Markdown

[![CVE-2021-31231](https://tridentstack.com/cve/badge/CVE-2021-31231.svg)](https://tridentstack.com/cve/CVE-2021-31231)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-31231"><img src="https://tridentstack.com/cve/badge/CVE-2021-31231.svg" alt="CVE-2021-31231"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.