Go Vulnerability Database
GO-2022-1175
Exposure of local files in github.com/cortexproject/cortex
Details
A malicious actor could remotely read local files by submitting to the Alertmanager Set Configuration API maliciously crafted inputs. Only users of the Alertmanager service where "-experimental.alertmanager.enable-api" or "enable_api: true" is configured are affected.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/cortexproject/cortex | From 1.13.0 before 1.13.2 (fixed in 1.13.2) From 1.14.0 before 1.14.1 (fixed in 1.14.1) |