CVE-2021-36156
Path traversal in Grafana Loki
5.3
MEDIUM
CVSS 3.1
EPSS 0.25%
Description
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.
How to fix CVE-2021-36156
To remediate CVE-2021-36156, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.0 or later
Is CVE-2021-36156 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |