Skip to content
OpenAdvisories
Medium · 5.5 CVE-2021-31232 EUVD-2021-1352GHSA-m45g-f45x-vv22GO-2022-0915

Improper input validation in CNCF Cortex

Published Apr 30, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cortexproject/cortex < 1.8.1 1.8.1 GHSA-m45g-f45x-vv22

References