CVE-2021-31232
lowpriority · track · 22EPSS 0.004 · 31 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.1–5.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-m45g-f45x-vv22Improper input validation in CNCF Cortex2021-06-23ghsa · osvUS
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.
- GO-2022-0915Improper input validation in CNCF Cortex in github.com/cortexproject/cortex2024-08-21vendor · osvUS
Improper input validation in CNCF Cortex in github.com/cortexproject/cortex
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://community.grafana.com/c/security-announcementscnnvd
- https://community.grafana.com/c/security-announcements/38Patchcnnvd
- https://github.com/cortexproject/cortexcnnvd
- https://github.com/cortexproject/cortex/pull/4129/filescnnvd
- https://lists.cncf.io/g/cortex-users/message/50cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-31232cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2021050515cnnvd
- https://community.grafana.com/c/security-announcementsenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan