First published: Thu Mar 30 2023(Updated: )
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.) <a href="https://github.com/cortexproject/cortex/pull/4375">https://github.com/cortexproject/cortex/pull/4375</a> <a href="https://grafana.com/docs/grafana/latest/release-notes/">https://grafana.com/docs/grafana/latest/release-notes/</a>
Affected Software | Affected Version | How to fix |
---|---|---|
Cortex | <=1.9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2183169 is classified as a high-risk vulnerability due to potential directory traversal attacks.
To fix REDHAT-BUG-2183169, update Grafana Cortex to a version later than 1.9.0 that addresses this vulnerability.
The impact of REDHAT-BUG-2183169 includes the potential exposure of sensitive files to unauthorized access through crafted requests.
REDHAT-BUG-2183169 affects all installations of Grafana Cortex versions up to and including 1.9.0.
You should upgrade to the latest version of Grafana Cortex that is beyond 1.9.0 to mitigate REDHAT-BUG-2183169.