Grafana Mimirの脆弱性、Alertmanager経由で任意のファイルを読まれるおそれ
Summary
Grafana Mimirのアラート通知設定で、テナントが指定したローカルファイルの内容を外部に送信されるおそれがあります。影響を受けるのはMimir 3.0.4〜3.1.6と3.2.0〜3.2.1、およびGrafana Enterprise Metrics(GEM)の2.11.0〜2.16.2と2.17.0〜2.17.19です。Mimirは3.1.7と3.2.2、GEMは2.17.20で修正されており、GEM 2.11〜2.16には修正版が提供されないため2.17.20以降へのアップグレードが必要です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Grafana Mimirのアラート通知設定で、テナントが指定したローカルファイルの内容を外部に送信されるおそれがあります。影響を受けるのはMimir 3.0.4〜3.1.6と3.2.0〜3.2.1、およびGrafana Enterprise Metrics(GEM)の2.11.0〜2.16.2と2.17.0〜2.17.19です。Mimirは3.1.7と3.2.2、GEMは2.17.20で修正されており、GEM 2.11〜2.16には修正版が提供されないため2.17.20以降へのアップグレードが必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GrafanaEnterprise Metrics (GEM) |
2.11.0 – 2.16.2→ Not listed ≥ 2.17.0, < 2.17.20→ 2.17.20 |
Not listed 2.17.20 |
| GrafanaGrafana Mimir |
≥ 3.0.4, < 3.1.7→ 3.1.7 ≥ 3.2.0, < 3.2.2→ 3.2.2 |
3.1.7 3.2.2 |
Original description The description as published by the source.
Grafana Mimir's Alertmanager rejects tenant-supplied receiver configurations that reference local files, but the check did not cover two HTTP client settings: http_headers..files and basic_auth.username_file. A tenant permitted to upload an Alertmanager configuration could point these fields at any file readable by the Alertmanager process. When a notification was sent, Alertmanager read the file and put its contents in a header of the outgoing request. By directing the receiver at a server they control, the tenant could read files from the Alertmanager host, such as credentials and configuration.
Exploitation requires permission to write the tenant's Alertmanager configuration. Grafana Enterprise Metrics (GEM), which is built on Mimir, is also affected. The issue is fixed in Mimir 3.1.7 and 3.2.2 and in GEM 2.17.20. GEM 2.11 through 2.16 will not receive a fix; users on those versions should upgrade to 2.17.20 or later.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web grafana.com
- web nvd.nist.gov
- web github.com