github.com/grafana/loki
Affected
- introduced
0, fixed2.3.0(semver)
Fixed versions
2.3.0
Fix
- Fixed version
2.3.0go get github.com/grafana/[email protected]
Advisory
Also known as: CVE-2021-36156
Path traversal in Grafana Loki
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.3.0 (semver)2.3.0
2.3.0go get github.com/grafana/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0