CVE-2022-21673 json
OAuth Identity Token exposure in Grafana
published 4y ago modified 2mo ago also BIT-grafana-2022-21673 , EUVD-2022-26886 , GHSA-8wjh-59cw-9xh4
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
Grafana is an open-source platform for monitoring and observability. In affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access. This attack relies on the Grafana instance having data sources that support the Forward OAuth Identity feature, the Grafana instance having a data source with the Forward OAuth Identity feature toggled on, the Grafana instance having OAuth enabled, and the Grafana instance having usable API keys. This issue has been patched in versions 7.5.13 and 8.3.4.
Patch / fix
- bitnami grafana 7.5.13, 8.3.4
- grafana grafana 7.5.13, 8.3.4
- 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:3676-1SUSE-SU-2022:2134-1SUSE-FU-2022:1419-1SUSE-SU-2022:1396-1
- grafana openSUSE Tumbleweed 8.3.4-1.1
opensuse advisories openSUSE-SU-2024:11816-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.4-r0
alpine advisories ALPINE-CVE-2022-21673
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2022-21673 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-21673 updated cvss 4.3
grafana: Forward OAuth Identity Token can allow users to access some data sources
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheusaffected: no fix available
-
Red Hat OpenShift Service Mesh 2.1 servicemesh-grafanaaffected: no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 grafanaaffected: no fix available
-
Red Hat Ceph Storage 2 grafana Red Hat Ceph Storage 3 grafana, grafana-containeraffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8affected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 5.2 Tools rhceph/rhceph-5-dashboard-rhel8 5-56fixed: vendor fix RHSA-2022:6024
-
Red Hat Enterprise Linux AppStream (v. 8) grafana 7.5.15-3.el8fixed: vendor fix RHSA-2022:7519
-
Red Hat Enterprise Linux AppStream (v. 9) grafana 7.5.15-3.el9fixed: vendor fix RHSA-2022:8057
show 2 moreshow fewer
-
Red Hat OpenShift Container Platform 4.10 openshift4/ose-grafana v4.10.0-202202160023.p0.g48aec35.assembly.streamfixed: vendor fix RHSA-2022:0056
-
Red Hat Ceph Storage 5.2 Tools rhceph/rhceph-5-rhel8 5-268, rhceph/keepalived-rhel8 2.1.5-16, rhceph/snmp-notifier-rhel8 1.2.1-16, rhceph/rhceph-haproxy-rhel8 2.2.19-9 Red Hat OpenShift Container Platform 3.11 openshift3/grafana Red Hat OpenShift Container Platform 4.10 openshift4/ose-cli v4.10.0-202202160843.p0.gf93da17.assembly.stream, openshift4/ose-pod v4.10.0-202202251728.p0.ge419edf.assembly.stream, openshift4/ose-etcd v4.10.0-202202160023.p0.g7bbf25a.assembly.stream, openshift4/ose-tests v4.10.0-202202221318.p0.gc1d9068.assembly.stream, openshift4/ose-console v4.10.0-202202240423.p0.gb6503ff.assembly.stream, openshift4/ose-coredns v4.10.0-202202160023.p0.g3ec1ee7.assembly.stream, +159 more Red Hat Storage 3 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
- last yr.
Exploit prediction
2.00% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | grafana | >=7.2.0, <7.5.13 >=8.0.0, <8.3.4 |
7.5.13 8.3.4 |
Affected products
- grafana grafana
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
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
-
github.com
/grafana/grafana/security/advisories/GHSA-8wjh-59cw-9xh4
third-party-advisory, advisory
-
github.com
/grafana/grafana/releases/tag/v7.5.13
release-notes, third-party-advisory, advisory
-
github.com
/grafana/grafana/releases/tag/v8.3.4
release-notes, third-party-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220303-0004/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21673
web
Sources
- CVE List CVE-2022-21673
- NVD CVE-2022-21673
- OSV BIT-grafana-2022-21673
Fencer Intel 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.