CVE-2021-36156Grafana Loki
Media 5.3 Sin autenticación
Seguir: esta CVE · Grafana · Grafana Loki Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.5% probabilidad de explotación en 30 días · percentil 74
- Requiere autenticación
- No
- Publicada
- 3 ago 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Qué pasa
An issue was discovered in Grafana Loki through 2.2.1. The header value X-Scope-OrgID is used to construct file paths for rules files, and if crafted to conduct directory traversal such as ae ../../sensitive/path/in/deployment pathname, then Loki will attempt to parse a rules file at that location and include some of the contents in the error message.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Loki.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/grafana/loki |
< 2.3.0 |
2.3.0 |
go get github.com/grafana/loki@v2.3.0 |
Según OSV / GitHub Advisories (GHSA-grj5-8x6q-hc9q). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| grafana | loki | ≤ 2.2.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory