Skip to main content
← All vulnerabilities
CVE-2021-31232GHSA-M45G-F45X-VV22GO-2022-0915

The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/cortexproject/cortexGo

    fixed in 1.8.1

References 4

community.grafana.com

GitHub · cortexproject/cortex

lists.cncf.io