cve.bz

CVE-2021-31232

5.5 mediumEPSS 0.4%

Medium (5.5) in linuxfoundation cortex. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/cortexproject/cortex 1.8.1.

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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 30% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m45g-f45x-vv22Gogithub.com/cortexproject/cortex<1.8.11.8.1
GO-2022-0915Gogithub.com/cortexproject/cortex<1.8.11.8.1

References

Check your stackJSON