CVE-2021-31232

cortex: Alertmanager can expose local files content via specially crafted config

Published Apr 30, 2021 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 10:55 PM
Reserved
Apr 15, 2021, 12:00 AM
Status
Modified
Published
Apr 30, 2021, 1:15 PM
Modified
Jun 17, 2026, 3:51 AM
Severity
Moderate
Public date
Apr 28, 2021, 12:00 AM