Vulnerability · Published Sep 2, 2022 · Assigned by GitHub_M
CVE-2022-31176Grafana Image Renderer leaking files
High 8.3
In plain English
A high-severity information exposure in grafana-image-renderer from grafana. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | grafana | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine:v3.21 | grafana | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine:v3.22 | grafana | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine:v3.23 | grafana | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
| Alpine:v3.24 | grafana | 9.1.2-r0 | ALPINE-CVE-2022-31176 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| grafana | grafana-image-renderer | < 3.6.0 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H