CVE-2021-31232 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://community.grafana.com/c/security-announcements | CVE | Third Party Advisory |
| https://github.com/cortexproject/cortex | CVE | Third Party Advisory |
| https://github.com/cortexproject/cortex/pull/4129/files | CVE | PatchThird Party Advisory |
| https://lists.cncf.io/g/cortex-users/message/50 | CVE | Release NotesVendor Advisory |
| https://community.grafana.com/c/security-announcements | [email protected] | Third Party Advisory |
| https://github.com/cortexproject/cortex | [email protected] | Third Party Advisory |
| https://github.com/cortexproject/cortex/pull/4129/files | [email protected] | PatchThird Party Advisory |
| https://lists.cncf.io/g/cortex-users/message/50 | [email protected] | Release NotesVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation cortex | < 1.8.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 8, 2023 | CWE Remap | [email protected] |
| May 11, 2021 | Initial Analysis | [email protected] |
| Apr 30, 2021 | CVE Modified | [email protected] |