{"id":"EUVD-2021-2065","enisaUuid":"8c35b9a8-1c2b-33e1-9d37-5097102c73bf","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.","datePublished":"Aug 3, 2021, 2:12:11 PM","dateUpdated":"Aug 4, 2024, 12:47:43 AM","baseScore":null,"references":"https://github.com/grafana/loki/pull/4020#issue-694377133\nhttps://github.com/grafana/loki/releases/tag/v2.3.0\n","aliases":"CVE-2021-36156\nGHSA-grj5-8x6q-hc9q\n","assigner":"mitre","epss":1.48,"enisaIdProduct":[{"id":"a8b3528e-8c12-3f96-926d-8e27b10e0708","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"enisaIdVendor":[{"id":"144ca690-b8e7-3b8f-982c-10d6fd36b188","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"71f4376c-495a-30be-9800-39bf793a0e40","vulnerability":{"id":"GHSA-grj5-8x6q-hc9q","description":"Path traversal in Grafana Loki","datePublished":"Sep 2, 2021, 10:00:40 PM","dateUpdated":"Sep 8, 2021, 6:11:29 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2021-36156\nhttps://github.com/grafana/loki/pull/4020\nhttps://github.com/grafana/loki/pull/4020#issue-694377133\nhttps://github.com/grafana/loki\nhttps://github.com/grafana/loki/releases/tag/v2.3.0\n","enisa_id":"EUVD-2021-2065\n","aliases":"CVE-2021-36156\nGHSA-grj5-8x6q-hc9q\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:06:27 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"77cf50b4-ad13-34ae-849d-e86a9fa8ab45","vulnerability":{"id":"CVE-2021-36156","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.","datePublished":"Aug 3, 2021, 2:12:11 PM","dateUpdated":"Aug 4, 2024, 12:47:43 AM","status":"PUBLISHED","baseScore":null,"references":"https://github.com/grafana/loki/pull/4020#issue-694377133\nhttps://github.com/grafana/loki/releases/tag/v2.3.0\n","enisa_id":"EUVD-2021-2065\n","assigner":"mitre","epss":1.48,"dataProcessed":"Nov 20, 2026, 7:21:00 AM","vulnerabilityProduct":[{"id":"53f0d0e6-9655-37ac-8c47-aad7da46cb75","product":{"name":"n/a","vendor":{"name":"n/a"}},"product_version":"n/a"}],"vulnerabilityVendor":[{"id":"ebc9e0dc-9e18-34d3-93d8-caed91109aa6","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[]}