CVE-2022-29170: Grafana Enterprise datasource network restrictions bypass via HTTP redirects
Grafana is an open-source platform for monitoring and observability. In Grafana Enterprise, the Request security feature allows list allows to configure Grafana in a way so that the instance doesn’t call or only calls specific hosts. The vulnerability present starting with version 7.4.0-beta1 and prior to versions 7.5.16 and 8.5.3 allows someone to bypass these security configurations if a malicious datasource (running on an allowed host) returns an HTTP redirect to a forbidden host. The vulnerability only impacts Grafana Enterprise when the Request security allow list is used and there is a possibility to add a custom datasource to Grafana which returns HTTP redirects. In this scenario, Grafana would blindly follow the redirects and potentially give secure information to the clients. Grafana Cloud is not impacted by this vulnerability. Versions 7.5.16 and 8.5.3 contain a patch for this issue. There are currently no known workarounds.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2022-29170?
CVE-2022-29170 is a vulnerability in Grafana Enterprise that allows an instance to call or only call specific hosts.
How does CVE-2022-29170 affect Grafana?
CVE-2022-29170 affects Grafana Enterprise versions between 7.4.0-beta1 and 7.5.16, and versions between 8.0.0 and 8.5.3, by introducing a vulnerability in the Request security feature.
What is the severity of CVE-2022-29170?
The severity of CVE-2022-29170 is high with a CVSS score of 8.5.
How can I fix CVE-2022-29170?
To fix CVE-2022-29170, update Grafana Enterprise to version 7.5.16 or higher if using versions between 7.4.0-beta1 and 7.5.16, or update to version 8.5.3 or higher if using versions between 8.0.0 and 8.5.3.
Where can I find more information about CVE-2022-29170?
You can find more information about CVE-2022-29170 in the following references: [link1](https://github.com/grafana/grafana/pull/49240), [link2](https://github.com/grafana/grafana/releases/tag/v7.5.16), [link3](https://github.com/grafana/grafana/releases/tag/v8.5.3).