GHSA-m45g-f45x-vv22

Suggest an improvement
Source
https://github.com/advisories/GHSA-m45g-f45x-vv22
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-m45g-f45x-vv22/GHSA-m45g-f45x-vv22.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m45g-f45x-vv22
Aliases
Published
2021-06-23T17:20:38Z
Modified
2024-08-21T15:58:46.171649Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2021-04-30T13:15:00Z",
    "github_reviewed_at": "2021-05-20T21:19:40Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

Go / github.com/cortexproject/cortex

Package

Name
github.com/cortexproject/cortex
View open source insights on deps.dev
Purl
pkg:golang/github.com/cortexproject/cortex

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1