CVEvulnerability
CVE-2021-31232
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-04-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:P/I:N/A:N
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 configurations
• linuxfoundation cortex (< 1.8.1)
References
- https://community.grafana.com/c/security-announcements Third Party Advisory
- https://github.com/cortexproject/cortex Third Party Advisory
- https://github.com/cortexproject/cortex/pull/4129/files Patch, Third Party Advisory
- https://lists.cncf.io/g/cortex-users/message/50 Release Notes, Vendor Advisory
- https://community.grafana.com/c/security-announcements Third Party Advisory
- https://github.com/cortexproject/cortex Third Party Advisory
- https://github.com/cortexproject/cortex/pull/4129/files Patch, Third Party Advisory
- https://lists.cncf.io/g/cortex-users/message/50 Release Notes, Vendor Advisory