{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2021-06-11T10:06:11.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://grafana.com/docs/metrics-enterprise/"},{"tags":["x_refsource_MISC"],"url":"https://community.grafana.com/c/security-announcements"},{"tags":["x_refsource_MISC"],"url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021"},{"tags":["x_refsource_MISC"],"url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021"},{"tags":["x_refsource_CONFIRM"],"url":"https://security.netapp.com/advisory/ntap-20210611-0001/"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-31231","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://grafana.com/docs/metrics-enterprise/","refsource":"MISC","url":"https://grafana.com/docs/metrics-enterprise/"},{"name":"https://community.grafana.com/c/security-announcements","refsource":"MISC","url":"https://community.grafana.com/c/security-announcements"},{"name":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021","refsource":"MISC","url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021"},{"name":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021","refsource":"MISC","url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021"},{"name":"https://security.netapp.com/advisory/ntap-20210611-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210611-0001/"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T22:55:53.696Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://grafana.com/docs/metrics-enterprise/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://community.grafana.com/c/security-announcements"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://security.netapp.com/advisory/ntap-20210611-0001/"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2021-31231","datePublished":"2021-04-30T12:34:28.000Z","dateReserved":"2021-04-15T00:00:00.000Z","dateUpdated":"2024-08-03T22:55:53.696Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}