CVE-2022-29170Grafana 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.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.23 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.22 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.21 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.20 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.19 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.18 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.17 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
| Alpine Linux 3.16 | grafana | Fixed | 8.5.3-r0 | ALPINE-CVE-2022-29170 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- grafana: affected: >= 7.4.0-beta1, < 7.5.16, >= 8.0.0, < 8.5.3
References
- https://github.com/grafana/grafana/security/advisories/GHSA-9rrr-6fq2-4f99
- https://github.com/grafana/grafana/pull/49240
- https://github.com/grafana/grafana/releases/tag/v7.5.16
- https://github.com/grafana/grafana/releases/tag/v8.5.3
- https://security.netapp.com/advisory/ntap-20220707-0005/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.