What’s Vulnerable › Vulnerabilities

CVE-2021-31232

Description

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.

Affected products

How to fix

Upgrade to a fixed version: cortexproject cortex 1.8.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-31232 or the next vulnerability affects your stack