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
Link | Resource |
---|---|
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 |
Configurations
Information
Published : 2021-04-30 06:15
Updated : 2021-05-11 10:16
NVD link : CVE-2021-31232
Mitre link : CVE-2021-31232
JSON object : View
CWE
CWE-20
Improper Input Validation
Products Affected
linuxfoundation
- cortex