Advisory

GHSA-m45g-f45x-vv22

Also known as: CVE-2021-31232, GO-2022-0915

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-23 17:20 UTC
Modified
2024-08-21 15:58 UTC

Affected packages and fixes

github.com/cortexproject/cortex

Go · All systems

Affected

  • introduced 0, fixed 1.8.1 (semver)

Fixed versions

1.8.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences