CVE-2022-31176Grafana Image Renderer leaking files
Grafana Image Renderer is a Grafana backend plugin that handles rendering of panels & dashboards to PNGs using a headless browser (Chromium/Chrome). An internal security review identified an unauthorized file disclosure vulnerability. It is possible for a malicious user to retrieve unauthorized files under some network conditions or via a fake datasource (if user has admin permissions in Grafana). All Grafana installations should be upgraded to version 3.6.1 as soon as possible. As a workaround it is possible to [disable HTTP remote rendering](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#plugingrafana-image-renderer).
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 | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.23 | grafana | Fixed | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.22 | grafana | Fixed | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.21 | grafana | Fixed | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.20 | grafana | Fixed | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.19 | grafana | Fixed | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.18 | grafana | Fixed | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.17 | grafana | Fixed | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine Linux 3.16 | grafana | Fixed | 8.5.11-r0 | ALPINE-CVE-2022-31176 |
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-image-renderer: affected: < 3.6.0
References
- https://github.com/grafana/grafana-image-renderer/security/advisories/GHSA-2cfh-233g-m4c5
- https://github.com/grafana/grafana-image-renderer/pull/364
- https://security.netapp.com/advisory/ntap-20221209-0004/
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.