ADVISORIES

Vulnerability

CVE-2021-31232

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity Go 2

Advisories

  • GHSA-m45g-f45x-vv22

    Improper input validation in CNCF Cortex

    Moderate CVE-2021-31232 Go Updated 21 August 2024
  • GO-2022-0915

    Improper input validation in CNCF Cortex in github.com/cortexproject/cortex

    CVE-2021-31232 Go Updated 3 March 2026

References