CVE-2022-21703 json
Cross Site Request Forgery in Grafana
published 2022-02-08 4 y ago modified 2026-09-10 1 mo ago also BIT-grafana-2022-21703 , EUVD-2024-0616 , GHSA-cmf4-h3xc-jw8w
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
Grafana is an open-source platform for monitoring and observability. Affected versions are subject to a cross site request forgery vulnerability which allows attackers to elevate their privileges by mounting cross-origin attacks against authenticated high-privilege Grafana users (for example, Editors or Admins). An attacker can exploit this vulnerability for privilege escalation by tricking an authenticated user into inviting the attacker as a new user with high privileges. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.
Patch / fix
- go github.com/grafana/grafana/pkg/web 7.5.15, 8.3.5
- bitnami grafana 7.5.15, 8.3.5
- grafana grafana 7.5.15, 8.3.5
- netapp e-series_performance_analyzer 3.0
- grafana RHEL 8 7.5.15-3.el8
- grafana RHEL 9 7.5.15-3.el9
red hat advisories RHSA-2022:7519RHSA-2022:8057
- rhnlib Manager Client Tools 12-BETA 5.0.1-24.30.3
- grafana Manager Client Tools 12-BETA 9.5.8-4.21.2
- mgr-push Manager Client Tools 12-BETA 5.0.1-4.21.4
- spacecmd Manager Client Tools 12-BETA 5.0.1-41.42.3
- python-hwdata Manager Client Tools 12-BETA 2.3.5-15.12.2
- uyuni-common-libs Manager Client Tools 12-BETA 5.0.1-3.33.3
- kiwi-desc-saltboot Manager Client Tools 12-BETA 0.1.1687520761.cefb248-4.15.2
- system-user-grafana Manager Client Tools 12-BETA 1.0.0-3.7.2
suse advisories SUSE-SU-2024:0191-1SUSE-SU-2022:3765-1SUSE-SU-2022:3676-1SUSE-SU-2022:2134-1SUSE-FU-2022:1419-1SUSE-SU-2022:1396-1
- grafana openSUSE Tumbleweed 8.3.5-1.1
opensuse advisories openSUSE-SU-2024:11836-1
- grafana AlmaLinux 9 7.5.15-3.el9
- grafana AlmaLinux 8 7.5.15-3.el8
almalinux advisories ALSA-2022:8057ALSA-2022:7519
- grafana Rocky Linux 9 7.5.15-3.el9
- grafana Rocky Linux 8 7.5.15-3.el8
rocky linux advisories RLSA-2022:8057RLSA-2022:7519
- grafana Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 8.3.6-r0
alpine advisories ALPINE-CVE-2022-21703
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/grafana/grafana#45083 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-21703 updated cvss 6.8
grafana: CSRF vulnerability can lead to privilege escalation
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana, openshift-service-mesh/grafana-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8, rhacm2/grafana-dashboard-loader-rhel9affected: workaround, no fix available “Please refer to the Grafana upstream advisory for possible workarounds for this issue.”
-
Red Hat Ceph Storage 3 grafana Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8affected: workaround, no fix planned “Please refer to the Grafana upstream advisory for possible workarounds for this issue.”
-
Red Hat OpenShift Container Platform 3.11 openshift3/grafanaaffected: workaround, no fix available “Please refer to the Grafana upstream advisory for possible workarounds for this issue.”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-grafanaaffected: workaround, no fix planned “Please refer to the Grafana upstream advisory for possible workarounds for this issue.”
-
Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8-operatoraffected: workaround, no fix available “Please refer to the Grafana upstream advisory for possible workarounds for this issue.”
-
Red Hat Storage 3 grafanaaffected: workaround, no fix planned “Please refer to the Grafana upstream advisory for possible workarounds for this issue.”
-
Red Hat Enterprise Linux AppStream (v. 8) grafana 7.5.15-3.el8fixed: vendor fix “Please refer to the Grafana upstream advisory for possible workarounds for this issue.” RHSA-2022:7519
-
Red Hat Enterprise Linux AppStream (v. 9) grafana 7.5.15-3.el9fixed: vendor fix “Please refer to the Grafana upstream advisory for possible workarounds for this issue.” RHSA-2022:8057
show 1 moreshow fewer
-
Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operator, 3scale-amp2/3scale-rhel7-operator-metadata Red Hat build of Quarkus grafananot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
2.28% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana/pkg/web | >=3.0-beta1, <7.5.15 >=8.0.0, <8.3.5 |
7.5.15 8.3.5 |
| bitnami | grafana | >=3.0.1, <7.5.15 >=8.0.0, <8.3.5 |
7.5.15 8.3.5 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/grafana/grafana/pull/45083
web, issue-tracking, patch, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
vendor-advisory, web
-
grafana.com
/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
mitigation, release-notes, vendor-advisory, advisory
-
github.com
/grafana/grafana/security/advisories/GHSA-cmf4-h3xc-jw8w
web, mitigation, release-notes, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220303-0005/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21703
advisory, web
-
grafana.com
/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ
web
-
security.netapp.com
/advisory/ntap-20220303-0005
web
Sources
- CVE List CVE-2022-21703
- GitHub Advisory GHSA-cmf4-h3xc-jw8w
- NVD CVE-2022-21703
- OSV BIT-grafana-2022-21703
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.