CVE-2021-31232

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-31232
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31232.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-31232
Aliases
Published
2021-04-30T13:15:07Z
Modified
2025-01-14T09:13:03.803314Z
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
[none]
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.

References

Affected packages

Git / github.com/cortexproject/cortex

Affected ranges

Type
GIT
Repo
https://github.com/cortexproject/cortex
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.1.0-rc.0
v0.2.0
v0.2.0-rc.0
v0.3.0
v0.3.0-rc.0
v0.4.0
v0.6.0
v0.6.0-rc.0
v0.7.0
v0.7.0-rc.0

v1.*

v1.0.0
v1.0.0-rc.0
v1.0.1
v1.1.0
v1.1.0-rc.0
v1.2.0
v1.2.0-rc.1
v1.3.0
v1.3.0-rc.0
v1.3.0-rc.1
v1.3.0-rc.2
v1.4.0
v1.4.0-rc.0
v1.4.0-rc.1
v1.5.0
v1.5.0-rc.0
v1.5.0-rc.1
v1.6.0
v1.6.0-rc.0
v1.6.0-rc.1
v1.7.0
v1.7.0-rc.0
v1.7.0-rc.1
v1.7.0-rc.2
v1.7.1
v1.8.0
v1.8.0-rc.0
v1.8.0-rc.1