U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-24812 Detail

Description

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v Patch  Release Notes  Third Party Advisory 
https://github.com/grafana/grafana/security/advisories/GHSA-82gq-xfg3-5j7v Patch  Release Notes  Third Party Advisory 
https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/ Patch  Release Notes  Vendor Advisory 
https://grafana.com/blog/2022/04/12/grafana-enterprise-8.4.6-released-with-high-severity-security-fix/ Patch  Release Notes  Vendor Advisory 
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/ Release Notes  Vendor Advisory 
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/ Release Notes  Vendor Advisory 
https://security.netapp.com/advisory/ntap-20220519-0005/ Third Party Advisory 
https://security.netapp.com/advisory/ntap-20220519-0005/ Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-269 Improper Privilege Management GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

5 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-24812
NVD Published Date:
04/12/2022
NVD Last Modified:
11/21/2024
Source:
GitHub, Inc.