CVE-2022-36062: Grafana is an open-source platform for monitoring and observability.
Low CVSS 3.8
- CVE id
- CVE-2022-36062
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Grafana Runtimes and servers |
< 8.5.13 >= 9.0.0, < 9.0.9 >= 9.1.0, < 9.1.6 |
8.5.13, 9.0.9, 9.1.6 |
How to fix it
Upgrade Grafana to the fixed release of the line you run: 8.5.13, 9.0.9, 9.1.6.
grafana-server -v
- Upgrade Grafana (the grafana/grafana image tag or packages) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Grafana is an open-source platform for monitoring and observability. In versions prior to 8.5.13, 9.0.9, and 9.1.6, Grafana is subject to Improper Preservation of Permissions resulting in privilege escalation on some folders where Admin is the only used permission. The vulnerability impacts Grafana instances where RBAC was disabled and enabled afterwards, as the migrations which are translating legacy folder permissions to RBAC permissions do not account for the scenario where the only user permission in the folder is Admin, as a result RBAC adds permissions for Editors and Viewers which allow them to edit and view folders accordingly. This issue has been patched in versions 8.5.13, 9.0.9, and 9.1.6. A workaround when the impacted folder/dashboard is known is to remove the additional permissions manually.
References
- CVE-2022-36062 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-36062
- Web: https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492
- Web: https://security.netapp.com/advisory/ntap-20221215-0001/
- Web: https://github.com/grafana/grafana/security/advisories/GHSA-p978-56hq-r492
- Web: https://security.netapp.com/advisory/ntap-20221215-0001/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.