{"id":"CVE-2021-31231","state":"PUBLISHED","title":"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","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.","publishedAt":"2021-04-30T12:34:28.000Z","updatedAt":"2024-08-03T22:55:53.696Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://grafana.com/docs/metrics-enterprise/","https://community.grafana.com/c/security-announcements","https://grafana.com/docs/metrics-enterprise/latest/downloads/#v113----april-27-2021","https://grafana.com/docs/metrics-enterprise/latest/downloads/#v121----april-27-2021","https://security.netapp.com/advisory/ntap-20210611-0001/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:30.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/31xxx/CVE-2021-31231.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-31231","state":"PUBLISHED","datePublished":"2021-04-30T12:34:28.000Z","dateUpdated":"2024-08-03T22:55:53.696Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-04-15T00:00:00.000Z"},"containers":{"cna":{"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"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_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210611-0001/","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-06-11T10:06:11.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"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":[{"title":"CVE Program Container","references":[{"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_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210611-0001/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T22:55:53.696Z"}}]}}}