CVE-2022-24812: Grafana is an open-source platform for monitoring and observability.
High CVSS 8.8
- CVE id
- CVE-2022-24812
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Grafana Runtimes and servers |
>= 8.1.0, < 8.4.6 | 8.4.6 |
How to fix it
Upgrade Grafana to 8.4.6 or later.
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. When fine-grained access control is enabled and a client uses Grafana API Key to make requests, the permissions for that API Key are cached for 30 seconds for the given organization. Because of the way the cache ID is constructed, the consequent requests with any API Key evaluate to the same permissions as the previous requests. This can lead to an escalation of privileges, when for example a first request is made with Admin permissions, and the second request with different API Key is made with Viewer permissions, the second request will get the cached permissions from the previous Admin, essentially accessing higher privilege than it should. The vulnerability is only impacting Grafana Enterprise when the fine-grained access control beta feature is enabled and there are more than one API Keys in one organization with different roles assigned. All installations after Grafana Enterprise v8.1.0-beta1 should be upgraded as soon as possible. As an alternative, disable fine-grained access control will mitigate the vulnerability.
References
- CVE-2022-24812 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-24812
- Web: https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v
- Web: https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/
- Web: https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/
- Web: https://security.netapp.com/advisory/ntap-20220519-0005/
- Web: https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v
- Web: https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/
- Web: https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/
- Web: https://security.netapp.com/advisory/ntap-20220519-0005/
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.