CVE-2022-21713 Exposure of Sensitive Information in Grafana
Authenticated attackers can view unauthorized team data and search results via exposed API endpoints in Grafana.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-21713?
CVE-2022-21713 is a medium-severity missing authorization vulnerability in Fedoraproject Fedora, published on 8 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Grafana is an open-source platform for monitoring and observability. Affected versions of Grafana expose multiple API endpoints which do not properly handle user authorization. `/teams/:teamId` will allow an authenticated attacker to view unintended data by querying for the specific team ID, `/teams/:search` will allow an authenticated attacker to search for teams and see the total number of available teams, including for those teams that the user does not have access to, and `/teams/:teamId/members` when editors_can_admin flag is enabled, an authenticated attacker can see unintended data by querying for the specific team ID. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.
Which versions are affected by CVE-2022-21713?
5 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | From 5.0.0-beta1 | 7.5.15 |
github.com/grafana/grafana Go | From 5.0.0-beta1 | 7.5.15 |
github.com/grafana/grafana Go | From 8.0.0 | 8.3.5 |
github.com/grafana/grafana Go | From 8.0.0 | 8.3.5 |
grafana Bitnami | From 5.0.0 | 7.5.15, 8.3.5 |
Products include Fedoraproject Fedora, Grafana Grafana, Netapp E-Series Performance Analyzer.
How do I fix CVE-2022-21713?
Upgrade github.com/grafana/grafana to a fixed version for your release line: 7.5.15 or 8.3.5.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-21713 being exploited?
There is no known exploitation of CVE-2022-21713 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-grafana-2022-21713, GHSA-63g3-9jq3-mccv, UBUNTU-CVE-2022-21713.