VDB
Sign up
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.1

Details

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.1
Fixgo get github.com/grafana/grafana@v11.1.1
Go/github.com/grafana/grafana
Introduced in: 11.1.2Fixed in: 11.1.3
Fixgo get github.com/grafana/grafana@v11.1.3
Go/github.com/grafana/grafana
Introduced in: 0.0.0-20240521130516-0072e4a92d89Fixed in: 0.0.0-20240725142242-c326d865c58b
Fixgo get github.com/grafana/grafana@v0.0.0-20240725142242-c326d865c58b
Go/github.com/grafana/grafana
Introduced in: 1.9.2-0.20240521130516-0072e4a92d89Fixed in: 1.9.2-0.20240725142242-c326d865c58b
Fixgo get github.com/grafana/grafana@v1.9.2-0.20240725142242-c326d865c58b

References