{"id":"CVE-2021-31232","published":"2021-04-30T12:46:32Z","modified":"2024-08-03T22:55:53Z","title":"The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0037,"percentile":0.22988,"provenance":"source"},"cwes":[],"references":[{"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","tags":["x_refsource_MISC"]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":4.6}]},"affected":[{"ecosystem":"Go","package":"github.com/cortexproject/cortex","vulnerableRanges":["<1.8.1"],"patched":["1.8.1"],"from":["GHSA-m45g-f45x-vv22","GO-2022-0915"],"provenance":"source"}],"summary":{"text":"The Alertmanager component of CNCF Cortex, before version 1.8.1, contains a local file disclosure flaw when the experimental Alertmanager API is enabled. An attacker who can reach that API and configure it can abuse the HTTP basic auth password_file setting or the alertmanager templates list to have arbitrary file contents sent out through a webhook.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:07Z"},"euvd":{"id":"EUVD-2021-1352","exploited":false,"provenance":"source"}}