Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW00NWctZjQ1eC12djIy
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.
Permalink: https://github.com/advisories/GHSA-m45g-f45x-vv22JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW00NWctZjQ1eC12djIy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 10 months ago
CVSS Score: 5.5
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-m45g-f45x-vv22, CVE-2021-31232
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-31232
- https://github.com/cortexproject/cortex/pull/4129/files
- https://community.grafana.com/c/security-announcements
- https://github.com/cortexproject/cortex
- https://lists.cncf.io/g/cortex-users/message/50
- https://github.com/advisories/GHSA-m45g-f45x-vv22
Affected Packages
go:github.com/cortexproject/cortex
Versions: < 1.8.1Fixed in: 1.8.1