CVE-2021-31232
Dashboard / Vulnerabilities / CVE-2021-31232
CVE-2021-31232
Published: 30 Apr 2021Last Modified: 9 Jul 2026
Aliases:
Summary:
Details: 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.
References: https://community.grafana.com/c/security-announcements, https://github.com/cortexproject/cortex, https://lists.cncf.io/g/cortex-users/message/50, https://github.com/cortexproject/cortex/pull/4129/files
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v1.8.0
v1.8.0-rc.1
v1.8.0-rc.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
