GHSA-m45g-f45x-vv22

    Dashboard / Vulnerabilities / GHSA-m45g-f45x-vv22

    GHSA-m45g-f45x-vv22

    Published: 23 Jun 2021Last Modified: 21 Aug 2024

    Summary: Improper input validation in CNCF Cortex

    Details: 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

    Package

    Name: github.com/cortexproject/cortex

    Purl: pkg:golang/github.com/cortexproject/cortex

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.8.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-m45g-f45x-vv22 | CVE-DB