Releases387
Frequency6 days 18 hours
Last Release
Stars28.6K
Like Prometheus, but for logs.

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
< 3.6.45.3 MEDIUM

The CVE-2021-36156 fix validates the namespace parameter for path traversal sequences after a single URL decode, by double encoding, an attacker can read files at the Ruler API endpoint /loki/api/v1/rules/{namespace} Thanks to Prasanth Sundararajan for reporting this vulnerability.

<= 2.2.15.3 MEDIUM5 MEDIUM

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.