CVE Vulnerabilities

CVE-2022-21673

Published: Jan 18, 2022 | Modified: Nov 07, 2023
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
3.5 LOW
AV:N/AC:M/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
4.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM

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.

Affected Software

Name Vendor Start Version End Version
Grafana Grafana 7.2.0 (including) 7.5.13 (excluding)
Grafana Grafana 8.0.0 (including) 8.3.4 (excluding)
Red Hat Ceph Storage 5.2 RedHat rhceph/rhceph-5-dashboard-rhel8:5-56 *
Red Hat Enterprise Linux 8 RedHat grafana-0:7.5.15-3.el8 *
Red Hat Enterprise Linux 9 RedHat grafana-0:7.5.15-3.el9 *
Red Hat OpenShift Container Platform 4.10 RedHat openshift4/ose-grafana:v4.10.0-202202160023.p0.g48aec35.assembly.stream *
Grafana Ubuntu esm-apps/xenial *
Grafana Ubuntu trusty *
Grafana Ubuntu xenial *

References