CVE-2022-31176 Grafana Image Renderer leaking files
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2022-31176?
CVE-2022-31176 is a high-severity vulnerability in grafana-image-renderer, published on 2 Sep 2022.
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).
Which versions are affected by CVE-2022-31176?
1 open source package ship an affected version, including grafana-image-renderer. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
grafana-image-renderer Bitnami | All versions | 3.6.1 |
Products include Grafana Grafana-Image-Renderer.
How do I fix CVE-2022-31176?
Upgrade grafana-image-renderer to 3.6.1 or later.
Is CVE-2022-31176 being exploited?
There is no known exploitation of CVE-2022-31176 in the wild and no public exploit code.
Sources
Also known as BIT-grafana-image-renderer-2022-31176, GHSA-2cfh-233g-m4c5.