Vulnerability · Published Feb 8, 2022 · Assigned by GitHub_M
CVE-2022-21713Exposure of Sensitive Information in Grafana
Medium 4.3
In plain English
A medium-severity incorrect authorization in grafana from grafana. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | grafana | 7.5.15-3.el8 | ALSA-2022:7519 |
| AlmaLinux:9 | grafana | 7.5.15-3.el9 | ALSA-2022:8057 |
| Alpine:v3.20 | grafana | 8.3.6-r0 | ALPINE-CVE-2022-21713 |
| Alpine:v3.21 | grafana | 8.3.6-r0 | ALPINE-CVE-2022-21713 |
| Alpine:v3.22 | grafana | 8.3.6-r0 | ALPINE-CVE-2022-21713 |
| Alpine:v3.23 | grafana | 8.3.6-r0 | ALPINE-CVE-2022-21713 |
| Alpine:v3.24 | grafana | 8.3.6-r0 | ALPINE-CVE-2022-21713 |
| Go | github.com/grafana/grafana | 7.5.15 | GHSA-63g3-9jq3-mccv |
| Go | github.com/grafana/grafana | 8.3.5 | GHSA-63g3-9jq3-mccv |
| Rocky Linux:8 | grafana | 0:7.5.15-3.el8 | RLSA-2022:7519 |
| Rocky Linux:9 | grafana | 0:7.5.15-3.el9 | RLSA-2022:8057 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/ x_refsource_MISC
- https://github.com/grafana/grafana/pull/45083 x_refsource_MISC
- https://github.com/grafana/grafana/security/advisories/GHSA-63g3-9jq3-mccv x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20220303-0005/ x_refsource_CONFIRM
- FEDORA-2022-83405f9d5b vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-9dd03cab55 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-c5383675d9 vendor-advisory, x_refsource_FEDORA