5.3

CVE-2021-36156: grafana loki Path Traversal

CVSS: 5.3v3.1MediumModified
AliasesGHSA-grj5-8x6q-hc9q
Published 03-08-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-36156 is a medium (CVSS 5.3) Path Traversal vulnerability in grafana loki. EPSS estimates a 1.48% chance of exploitation in the next 30 days, higher than 73.4% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
1.48%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 03-08-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

1.48%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

0.00 pp

From 1.48% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Github.com/grafana1 product
  • loki< 2.3.0
Grafana1 product

2 vendors · 2 products

References

5 links