CVE-2021-31232
Last modified
CVE-2021-31232 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Cortex | < 1.8.1 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31232?
How severe is CVE-2021-31232?
How do I fix CVE-2021-31232?
Are you affected by CVE-2021-31232?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
