CVE-2021-31232
The Alertmanager in CNCF Cortex before 1.8.1 has a local file disclosure vulnerability when -experimental.alertmanager.enable-api is used.
Does this matter?
Lower severity and a low EPSS score (0.37%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 0.37% probability · 30th percentile
- CISA KEV
- Not listed
- Affected
- linuxfoundation/cortex
- Source
- cve@mitre.org
References
- https://community.grafana.com/c/security-announcementsThird Party Advisory
- https://github.com/cortexproject/cortexThird Party Advisory
- https://github.com/cortexproject/cortex/pull/4129/filesPatch, Third Party Advisory
- https://lists.cncf.io/g/cortex-users/message/50Release Notes, Vendor Advisory
- https://community.grafana.com/c/security-announcementsThird Party Advisory
- https://github.com/cortexproject/cortexThird Party Advisory
- https://github.com/cortexproject/cortex/pull/4129/filesPatch, Third Party Advisory
- https://lists.cncf.io/g/cortex-users/message/50Release Notes, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.