CVE-2021-31232 Improper input validation in CNCF Cortex
MediumCVSS 5.5
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cortexproject github.com/cortexproject/cortex(Go) | < 1.8.1 | 1.8.1 | Fixed |
| linuxfoundation cortex | < 1.8.1 | 1.8.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cortexproject github.com/cortexproject/cortex(Go) | < 1.8.1 | 1.8.1 |
| linuxfoundation cortex | < 1.8.1 | 1.8.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- community.grafana.com third-party-advisory
- github.com third-party-advisory
- lists.cncf.io release-notes vendor-advisory
- github.com vendor-advisory