In short
- CVE-2021-31232 is a MEDIUM (CVSS 5.5) vulnerability affecting github.com/cortexproject/cortex, cortex (linuxfoundation).
- Chance of exploitation in the next 30 days (EPSS): 0.37%, higher than 31.0% of all vulnerabilities.
- Fix: update to 1.8.1 or later.
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.
NVD 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.
More vulnerabilities in github.com/cortexproject/cortex
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free