CVE-2021-31232
Summary
| CVE | CVE-2021-31232 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-30 13:15:00 UTC |
| Updated | 2023-08-08 14:22:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-noinfo
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Linuxfoundation | Cortex | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Fix for CVE-2021-31232: Alertmanager can expose local files content via specially crafted config by pracucci · Pull Request #4129 · cortexproject/cortex · GitHub | MISC | github.com | |
| Latest Security Announcements topics - Grafana Labs Community Forums | MISC | community.grafana.com | |
| 403 Forbidden | MISC | lists.cncf.io | |
| GitHub - cortexproject/cortex: A horizontally scalable, highly available, multi-tenant, long term Prometheus. | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 982074 Go (go) Security Update for github.com/cortexproject/cortex (GHSA-m45g-f45x-vv22)