ADVISORIES

GitHub Advisory Database

GHSA-5mxf-42f5-j782

Grafana's users with permissions to create a data source can CRUD all data sources

Details

A user with the permissions to create a data source can use Grafana API to create a data source with UID set to *. Doing this will grant the user access to read, query, edit and delete all data sources within the organization.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/grafana/grafana
From 8.5.0 before 9.5.7 (fixed in 9.5.7)
Gogithub.com/grafana/grafana
From 10.0.0 before 10.0.12 (fixed in 10.0.12)
Gogithub.com/grafana/grafana
From 10.1.0 before 10.1.8 (fixed in 10.1.8)
Gogithub.com/grafana/grafana
From 10.2.0 before 10.2.5 (fixed in 10.2.5)
Gogithub.com/grafana/grafana
From 10.3.0 before 10.3.4 (fixed in 10.3.4)

References