{"id":"CVE-2021-36157","published":"2021-08-03T14:03:49Z","modified":"2024-08-04T00:47:43Z","title":"An issue was discovered in Grafana Cortex through 1.9.0","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in Grafana Cortex through 1.9.0. 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 Cortex will attempt to parse a rules file at that location and include some of the contents in the error message. (Other Cortex API requests can also be sent a malicious OrgID header, e.g., tricking the ingester into writing metrics to a different location, but the effect is nuisance rather than information disclosure.)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01392,"percentile":0.72165,"provenance":"source"},"cwes":[],"references":[{"url":"https://grafana.com/docs/grafana/latest/release-notes/","tags":["x_refsource_MISC"]},{"url":"https://github.com/cortexproject/cortex/pull/4375","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":14.43}]},"affected":[{"ecosystem":"Go","package":"github.com/cortexproject/cortex","vulnerableRanges":["<=1.9.0"],"patched":[],"from":["GHSA-jphm-g89m-v42p"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-2088","exploited":false,"provenance":"source"}}