CVSS 3.1
8.7 highCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:NHigh (8.7). EPSS 70% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 8.3.10, 8.4.10, 8.5.9.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:Ngithub.com/grafana/grafana (Go): fixed in 9.0.3, 8.5.9, 8.4.10, 8.3.10Explain CVE-2022-31097 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31097?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31097?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31097 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| grafana:grafana | from 8.0.0 before 8.3.10 |
| grafana:grafana | from 8.4.0 before 8.4.10 |
| grafana:grafana | from 8.5.0 before 8.5.9 |
| grafana:grafana | from 9.0.0 before 9.0.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vw7q-p2qg-4m5f | Go | github.com/grafana/grafana | >=9.0.0 <9.0.3 | 9.0.3 |
| GHSA-vw7q-p2qg-4m5f | Go | github.com/grafana/grafana | >=8.5.0 <8.5.9 | 8.5.9 |
| GHSA-vw7q-p2qg-4m5f | Go | github.com/grafana/grafana | >=8.4.0 <8.4.10 | 8.4.10 |
| GHSA-vw7q-p2qg-4m5f | Go | github.com/grafana/grafana | >=8.0.0 <8.3.10 | 8.3.10 |
| GO-2024-2857 | Go | github.com/grafana/grafana | all versions | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS | grafana | no fix listed | UBUNTU-CVE-2022-31097 |
| SUSE | Enterprise Storage 6 | grafana | 8.5.13-150100.3.12.1 | SUSE-SU-2022:3676-1 |
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 5 more | bind | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more | golang-github-prometheus-node_exporter | 1.3.0-150000.3.18.1 | SUSE-SU-2022:3751-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP4 | grafana | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP4 | grafana | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Package Hub 15 SP5 | grafana | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE | Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 5 more | golang-github-prometheus-node_exporter | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE | Manager Client Tools 12 | golang-github-boynux-squid_exporter | 1.6-1.9.1 | SUSE-SU-2022:4439-1 |
| SUSE | Manager Client Tools 12 | golang-github-lusitaniae-apache_exporter | 0.11.0-1.13.1 | SUSE-SU-2022:3747-1 |
| SUSE | Manager Client Tools 12 | golang-github-prometheus-alertmanager | 0.23.0-1.15.2 | SUSE-SU-2022:3747-1 |
| SUSE | Manager Client Tools 12 | grafana | 8.3.10-1.33.2 | SUSE-SU-2022:3747-1 |
| SUSE | Manager Client Tools 12 | grafana | 8.5.13-1.36.2 | SUSE-SU-2022:4439-1 |
| 71 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3, Leap 15.4 | dracut-saltboot | 0.1.1661440542.6cbe0da-150000.1.38.1 | SUSE-SU-2022:3751-1 |
| openSUSE | Leap 15.3, Leap 15.4 | dracut-saltboot | 0.1.1665997480.587fa10-150000.1.41.1 | SUSE-SU-2022:4437-1 |
| openSUSE | Leap 15.3, Leap 15.4 | golang-github-boynux-squid_exporter | 1.6-150000.1.9.1 | SUSE-SU-2022:4437-1 |
| openSUSE | Leap 15.3, Leap 15.4 | golang-github-lusitaniae-apache_exporter | 0.11.0-150000.1.12.1 | SUSE-SU-2022:3751-1 |
| openSUSE | Leap 15.3, Leap 15.4 | golang-github-prometheus-promu | 0.13.0-150000.3.9.1 | SUSE-SU-2022:4437-1 |
| openSUSE | Leap 15.3, Leap 15.4 | grafana | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| openSUSE | Leap 15.3, Leap 15.4 | grafana | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| openSUSE | Leap 15.3, Leap 15.4 | spacecmd | 4.3.15-150000.3.86.1 | SUSE-SU-2022:3751-1 |
| openSUSE | Leap 15.3, Leap 15.4 | spacecmd | 4.3.16-150000.3.89.1 | SUSE-SU-2022:4437-1 |
| openSUSE | Leap 15.4 | bind | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| openSUSE | Leap 15.4 | prometheus-blackbox_exporter | 0.19.0-150000.1.14.3 | SUSE-SU-2022:4437-1 |
| openSUSE | Leap 15.4 | wire | 0.5.0-150000.1.9.3 | SUSE-SU-2022:4437-1 |
| 5 more for openSUSE in the JSON and on openSUSE's page. | ||||
| Alpine | v3.16 | grafana | 8.5.9-r0 | ALPINE-CVE-2022-31097 |
| Alpine | v3.17, v3.18, v3.19 and 5 more | grafana | 9.0.3-r0 | ALPINE-CVE-2022-31097 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
Disable Unified alerting.
https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#unified_alerting
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 6.1 | rhceph/rhceph-6-dashboard-rhel9:6-75 | Fixed 2023-06-15 | RHSA-2023:3642 |
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Affected | |
| OpenShift Service Mesh 2.1 | servicemesh-grafana | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-grafana-rhel8 | Not affected | |
| Red Hat Ceph Storage 3 | grafana | Affected | |
| Red Hat Ceph Storage 4 | rhceph/rhceph-4-dashboard-rhel8 | Affected | |
| Red Hat Ceph Storage 5 | rhceph/rhceph-5-dashboard-rhel8 | Affected | |
| Red Hat Enterprise Linux 8 | grafana | Not affected | |
| Red Hat Enterprise Linux 9 | grafana | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-grafana | Not affected | |
| Red Hat Storage 3 | grafana | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-31097.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.