CWE
22
Advisory Published
Updated

CVE-2021-36156: Path Traversal

First published: Tue Aug 03 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Grafana Loki<=2.2.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

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

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

  • What is the severity of CVE-2021-36156?

    The severity of CVE-2021-36156 is medium with a CVSS score of 5.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.

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203