github.com/cortexproject/cortex
Affected
- introduced
0, fixed1.8.1(semver)
Fixed versions
1.8.1
Fix
- Fixed version
1.8.1go get github.com/cortexproject/[email protected]
Advisory
Also known as: CVE-2021-31232, GO-2022-0915
Improper input validation in CNCF Cortex
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.8.1 (semver)1.8.1
1.8.1go get github.com/cortexproject/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0