{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"The Alertmanager in CNCF Cortex before 1.8.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-04-30T13:20:30.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://community.grafana.com/c/security-announcements"},{"tags":["x_refsource_MISC"],"url":"https://github.com/cortexproject/cortex"},{"tags":["x_refsource_MISC"],"url":"https://github.com/cortexproject/cortex/pull/4129/files"},{"tags":["x_refsource_MISC"],"url":"https://lists.cncf.io/g/cortex-users/message/50"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-31232","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 CNCF Cortex before 1.8.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://community.grafana.com/c/security-announcements","refsource":"MISC","url":"https://community.grafana.com/c/security-announcements"},{"name":"https://github.com/cortexproject/cortex","refsource":"MISC","url":"https://github.com/cortexproject/cortex"},{"name":"https://github.com/cortexproject/cortex/pull/4129/files","refsource":"MISC","url":"https://github.com/cortexproject/cortex/pull/4129/files"},{"name":"https://lists.cncf.io/g/cortex-users/message/50","refsource":"MISC","url":"https://lists.cncf.io/g/cortex-users/message/50"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T22:55:53.349Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://community.grafana.com/c/security-announcements"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/cortexproject/cortex"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/cortexproject/cortex/pull/4129/files"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://lists.cncf.io/g/cortex-users/message/50"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2021-31232","datePublished":"2021-04-30T12:46:32.000Z","dateReserved":"2021-04-15T00:00:00.000Z","dateUpdated":"2024-08-03T22:55:53.349Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}