CVE-2021-36156

CVSS V2 Medium 5 CVSS V3 Medium 5.3
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.
Overview
  • CVE ID
  • CVE-2021-36156
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-08-03T15:15:08
  • Last Modified Date
  • 2021-09-14T18:46:21
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:grafana:loki:*:*:*:*:*:*:*:* 1 OR 2.2.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:N/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 5.3
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 3.9
  • Impact Score
  • 1.4
References
Reference URL Reference Tags
https://github.com/grafana/loki/pull/4020#issue-694377133 Issue Tracking Third Party Advisory
https://github.com/grafana/loki/releases/tag/v2.3.0 Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 16:05:19 Added to TrackCVE
2022-12-05 07:15:06 2021-08-03T15:15Z 2021-08-03T15:15:08 CVE Published Date updated
2022-12-05 07:15:06 2021-09-14T18:46:21 CVE Modified Date updated
2022-12-05 07:15:06 Analyzed Vulnerability Status updated