MEDIUM4.4
GHSA-hh8p-374f-qgr5
Grafana plugin data sources vulnerable to access control bypass
Quick fix
GHSA-hh8p-374f-qgr5 — github.com/grafana/grafana: upgrade to the fixed version with the command below.
go get github.com/grafana/grafana@v11.1.1Details
Access control for plugin data sources protected by the ReqActions json field of the plugin.json is bypassed if the user or service account is granted associated access to any other data source, as the ReqActions check was not scoped to each specific datasource. The account must have prior query access to the impacted datasource.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/grafana/grafana
Introduced in:
11.1.0Fixed in: 11.1.1Fix
go get github.com/grafana/grafana@v11.1.1Go/github.com/grafana/grafana
Introduced in:
11.1.2Fixed in: 11.1.3Fix
go get github.com/grafana/grafana@v11.1.3Go/github.com/grafana/grafana
Introduced in:
0.0.0-20240521130516-0072e4a92d89Fixed in: 0.0.0-20240725142242-c326d865c58bFix
go get github.com/grafana/grafana@v0.0.0-20240725142242-c326d865c58bGo/github.com/grafana/grafana
Introduced in:
1.9.2-0.20240521130516-0072e4a92d89Fixed in: 1.9.2-0.20240725142242-c326d865c58bFix
go get github.com/grafana/grafana@v1.9.2-0.20240725142242-c326d865c58bReferences
- https://nvd.nist.gov/vuln/detail/CVE-2024-6322[ADVISORY]
- https://github.com/grafana/grafana/commit/4cb3ba5d1a7ab8b9676034e89dada2fcde1766ef[WEB]
- https://github.com/grafana/grafana/commit/9cdba084a9100c6b11d32eef9d2bd53656c6964a[WEB]
- https://github.com/grafana/grafana[PACKAGE]
- https://grafana.com/security/security-advisories/cve-2024-6322[WEB]