Vulnerabilities · 2021 · Linuxfoundation
CVE-2021-31232
Linuxfoundation Cortex vulnerability
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
Cortex. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linuxfoundation Cortex runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.cncf.io/g/cortex-users/message/50 · Vendor Advisory
- github.com/cortexproject/cortex/pull/4129/files · Patch
- community.grafana.com/c/security-announcements · Third Party Advisory
- github.com/cortexproject/cortex · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-31232
- cve.org/CVERecord?id=CVE-2021-31232
More vulnerabilities in Linuxfoundation products
CVE-2026-24747CVE-2026-24117CVE-2026-23955CVE-2026-23831CVE-2025-68141CVE-2025-68140CVE-2025-68139CVE-2025-68138All 418
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.