Skip to main content
← All vulnerabilities
CVE-2021-36156GHSA-GRJ5-8X6Q-HC9Q

An issue was discovered in Grafana Loki through 2.2.1.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/grafana/lokiGo

    fixed in 2.3.0

References 2

GitHub · grafana/loki