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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-1352 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.
Github GHSA Github GHSA GHSA-m45g-f45x-vv22 Improper input validation in CNCF Cortex
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T22:55:53.349Z

Reserved: 2021-04-15T00:00:00

Link: CVE-2021-31232

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-30T13:15:07.577

Modified: 2024-11-21T06:05:21.030

Link: CVE-2021-31232

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-04-28T00:00:00Z

Links: CVE-2021-31232 - Bugzilla

cve-icon OpenCVE Enrichment

No data.