CVE-2021-31231

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:grafana:enterprise_metrics:*:*:*:*:*:*:*:*
cpe:2.3:a:grafana:enterprise_metrics:*:*:*:*:enterprise:*:*:*

History

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE CWE-20 NVD-CWE-noinfo

04 Jun 2022, 01:28

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20210611-0001/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20210611-0001/ - Third Party Advisory
References (MISC) https://community.grafana.com/c/security-announcements - Vendor Advisory (MISC) https://community.grafana.com/c/security-announcements - Broken Link, Vendor Advisory

11 Jun 2021, 11:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20210611-0001/ -

11 May 2021, 17:17

Type Values Removed Values Added
References (MISC) https://community.grafana.com/c/security-announcements - (MISC) https://community.grafana.com/c/security-announcements - Vendor Advisory
References (MISC) https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021 - (MISC) https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021 - Release Notes, Vendor Advisory
References (MISC) https://grafana.com/docs/metrics-enterprise/ - (MISC) https://grafana.com/docs/metrics-enterprise/ - Product, Vendor Advisory
References (MISC) https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021 - (MISC) https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021 - Release Notes, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 2.1
v3 : 5.5
CPE cpe:2.3:a:grafana:enterprise_metrics:*:*:*:*:*:*:*:*
cpe:2.3:a:grafana:enterprise_metrics:*:*:*:*:enterprise:*:*:*
CWE CWE-20

30 Apr 2021, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-30 13:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-31231

Mitre link : CVE-2021-31231

CVE.ORG link : CVE-2021-31231


JSON object : View

Products Affected

grafana

  • enterprise_metrics