CVSS 3.1
7.3 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LHigh (7.3) in Grafana Labs Grafana. In CISA KEV since 2022-08-25. EPSS >99.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 7.5.11, 8.1.6.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:Lgithub.com/grafana/grafana (Go): fixed in 7.5.11, 8.1.6Explain CVE-2021-39226 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-39226?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-39226?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-2021-39226 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 | before 7.5.11 |
| grafana:grafana | from 8.0.0 before 8.1.6 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-69j6-29vr-p3j9 | Go | github.com/grafana/grafana | <7.5.11 | 7.5.11 |
| GHSA-69j6-29vr-p3j9 | Go | github.com/grafana/grafana | >=8.0.0 <8.1.6 | 8.1.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS | grafana | no fix listed | UBUNTU-CVE-2021-39226 |
| Red Hat | enterprise_linux:8::appstream | grafana, grafana-debuginfo | 0:7.3.6-3.el8_4 | RHSA-2021:3771 |
| Red Hat | rhel_eus:8.1::appstream | grafana, grafana-loki, grafana-mssql and 11 more | 0:6.2.2-7.el8_1 | RHSA-2021:3769 |
| Red Hat | rhel_eus:8.2::appstream | grafana, grafana-loki, grafana-mssql and 11 more | 0:6.3.6-3.el8_2 | RHSA-2021:3770 |
| SUSE | Enterprise Storage 6 | grafana | 7.5.12-150100.3.9.1 | SUSE-SU-2022:3425-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.48.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 10 more | golang-github-prometheus-node_exporter | 1.3.0-1.15.3 | SUSE-SU-2022:2134-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-ansible | 8.0+git.1660773729.3789a6d-3.85.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-cobbler | 8.0+git.1660773402.d845a45-3.47.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-heat | 9.0.8~dev22-12.45.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-murano | 4.0.2~dev3-12.38.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | grafana | 6.7.4-4.23.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | openstack-heat-templates | 0.0.0+git.1654529662.75fa04a-3.27.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | openstack-murano, openstack-murano-doc | 4.0.2~dev3-3.12.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-Django | 1.11.29-3.42.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | rabbitmq-server | 3.6.16-3.13.1 | SUSE-SU-2022:3338-1 |
| 72 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3 | grafana | 7.5.12-3.18.1 | openSUSE-SU-2022:0140-1 |
| openSUSE | Leap 15.3 | prometheus-postgres_exporter | 0.10.0-150000.1.3.1 | SUSE-SU-2022:1396-1 |
| openSUSE | Leap 15.3 | rhnlib | 4.2.6-150000.3.34.1 | SUSE-SU-2022:1396-1 |
| openSUSE | Leap 15.3 | spacecmd | 4.2.16-150000.3.77.1 | SUSE-SU-2022:1396-1 |
| openSUSE | Leap 15.3, Leap 15.4 | grafana | 8.3.5-150200.3.21.1 | SUSE-FU-2022:1419-1 |
| openSUSE | Tumbleweed | grafana | 7.5.11-3.1 | openSUSE-SU-2024:11651-1 |
| Rocky Linux | 8 | grafana | 0:7.3.6-3.el8_4 | RLSA-2021:3771 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
In OpenShift Container Platform (OCP), Red Hat Advanced Cluster Management for Kubernetes (RHACM), and OpenShift ServiceMesh (OSSM) the grafana components are protected by OpenShift OAuth that reduces the impact of this flaw to Moderate. Access to the grafana panel where snapshots can be created requires admin permissions. Additionally snapshots by default are not available to unauthenticated users and don't contain sensitive data.
Since snapshots by default are not available to unauthenticated users and don't contain sensitive data, impact has been lowered for Red Hat Gluster Storage 3.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | grafana-0:7.3.6-3.el8_4 | Fixed 2021-10-12 | RHSA-2021:3771 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | grafana-0:6.2.2-7.el8_1 | Fixed 2021-10-12 | RHSA-2021:3769 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | grafana-0:6.3.6-3.el8_2 | Fixed 2021-10-12 | RHSA-2021:3770 |
| Red Hat OpenShift Container Platform 3.11 | openshift3/grafana:v3.11.784-1.g423963f | Fixed 2022-09-07 | RHSA-2022:6252 |
| Red Hat OpenShift Container Platform 4.10 | openshift4/ose-grafana:v4.10.0-202202160023.p0.g48aec35.assembly.stream | Fixed 2022-03-10 | RHSA-2022:0056 |
| Red Hat OpenShift Container Platform 4.6 | openshift4/ose-grafana:v4.6.0-202208310224.p0.gcf170c0.assembly.stream | Fixed 2022-09-09 | RHSA-2022:6262 |
| Red Hat OpenShift Container Platform 4.7 | openshift4/ose-grafana:v4.7.0-202208310205.p0.g613acad.assembly.stream | Fixed 2022-09-13 | RHSA-2022:6322 |
| Red Hat OpenShift Container Platform 4.8 | openshift4/ose-grafana:v4.8.0-202208311019.p0.gf98b47f.assembly.stream | Fixed 2022-09-14 | RHSA-2022:6308 |
| Red Hat OpenShift Container Platform 4.9 | openshift4/ose-grafana:v4.9.0-202208311003.p0.g3b7bed6.assembly.stream | Fixed 2022-09-12 | RHSA-2022:6317 |
| OpenShift Service Mesh 1 | servicemesh-grafana | Out of support scope | |
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | grafana | Not affected | |
| Red Hat Ceph Storage 2 | grafana | Affected | |
| Red Hat Ceph Storage 3 | grafana | Affected | |
| Red Hat Ceph Storage 3 | grafana-container | Affected | |
| Red Hat Ceph Storage 4 | rhceph/rhceph-4-dashboard-rhel8 | Affected | |
| Red Hat Enterprise Linux 9 | grafana | Not affected | |
| Red Hat Storage 3 | grafana | Will not fix |
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-2021-39226.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-287.