CVE-2022-31176
What it is
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).
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, service disruption.
- Exploit odds
- 1.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.1% in the next 30 days (EPSS).
- Severity: 8.3 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.1% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- Grafana grafana-image-renderer < 3.6.1
Attack profile CVSS 3.1 · 8.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-31176.md and follow it. Check whether this project is affected by CVE-2022-31176. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/grafana/grafana-image-renderer/pull/364
- https://github.com/grafana/grafana-image-renderer/security/advisories/GHSA-2cfh-233g-m4c5
- https://github.com/grafana/grafana-image-renderer/pull/364
- https://github.com/grafana/grafana-image-renderer/security/advisories/GHSA-2cfh-233g-m4c5
References
- https://github.com/grafana/grafana-image-renderer/pull/364
- https://github.com/grafana/grafana-image-renderer/security/advisories/GHSA-2cfh-233g-m4c5
- https://security.netapp.com/advisory/ntap-20221209-0004/
- https://github.com/grafana/grafana-image-renderer/pull/364
- https://github.com/grafana/grafana-image-renderer/security/advisories/GHSA-2cfh-233g-m4c5
- https://security.netapp.com/advisory/ntap-20221209-0004/