CVE-2022-21673
Last modified
CVE-2022-21673 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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. EPSS estimates a 2.01% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Grafana | Grafana | >= 7.2.0, < 7.5.13 |
| Grafana | Grafana | >= 8.0.0, < 8.3.4 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- https://github.com/grafana/grafana/releases/tag/v7.5.13Release Notes, Third Party Advisory
- https://github.com/grafana/grafana/releases/tag/v8.3.4Release Notes, Third Party Advisory
- https://github.com/grafana/grafana/security/advisories/GHSA-8wjh-59cw-9xh4Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220303-0004/Third Party Advisory
- https://github.com/grafana/grafana/releases/tag/v7.5.13Release Notes, Third Party Advisory
- https://github.com/grafana/grafana/releases/tag/v8.3.4Release Notes, Third Party Advisory
- https://github.com/grafana/grafana/security/advisories/GHSA-8wjh-59cw-9xh4Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220303-0004/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21673?
How severe is CVE-2022-21673?
How do I fix CVE-2022-21673?
Are you affected by CVE-2022-21673?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
