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.

Severity (CVSS 3.1)8.3High
Exploit odds (30 days)1.1%top 33.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20grafana9.1.2-r0ALPINE-CVE-2022-31176
Alpine:v3.21grafana9.1.2-r0ALPINE-CVE-2022-31176
Alpine:v3.22grafana9.1.2-r0ALPINE-CVE-2022-31176
Alpine:v3.23grafana9.1.2-r0ALPINE-CVE-2022-31176
Alpine:v3.24grafana9.1.2-r0ALPINE-CVE-2022-31176

Affected products (as reported)

VendorProductVersions
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

References