CVE-2021-36156: Path Traversal

Published Aug 3, 2021
·
Updated

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.

Affected Software

1 affected component
Grafana Loki<=2.2.1

Event History

Aug 3, 2021
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue in Grafana Loki?

The vulnerability ID of this issue in Grafana Loki is CVE-2021-36156.

2

What is the severity of CVE-2021-36156?

The severity of CVE-2021-36156 is medium with a CVSS score of 5.3.

3

What is the affected software version of CVE-2021-36156?

The affected software version of CVE-2021-36156 is Grafana Loki up to and including version 2.2.1.

4

How can an attacker exploit CVE-2021-36156?

An attacker can exploit CVE-2021-36156 by crafting a malicious X-Scope-OrgID header value to conduct directory traversal and attempt to parse rules files from sensitive locations.

5

How can I mitigate CVE-2021-36156?

To mitigate CVE-2021-36156, update to Grafana Loki version 2.3.0 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203