logo

CVE-2021-31232 github.com/cortexproject/cortex

Package

Manager: go
Name: github.com/cortexproject/cortex
Vulnerable Version: >=0 <1.8.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00091 pctl0.26717

Details

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.

Metadata

Created: 2021-06-23T17:20:38Z
Modified: 2021-05-20T21:19:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-m45g-f45x-vv22/GHSA-m45g-f45x-vv22.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-m45g-f45x-vv22
Finding: F184
Auto approve: 1