CVEfocus › CVE database › CVE-2022-29170

CVE-2022-29170Grafana Enterprise datasource network restrictions bypass via HTTP redirects

CVSS 6.6 MediumEPSS 1.0% (higher than 61% of CVEs)Published 2022-05-20Updated 2025-04-23Assigner: GitHub_M

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.

CWE-601

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

9Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.24grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.23grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.22grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.21grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.20grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.19grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.18grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.17grafanaFixed8.5.3-r0ALPINE-CVE-2022-29170
Alpine Linux 3.16grafanaFixed8.5.3-r0ALPINE-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.

References

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.