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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/grafana/grafana | From 8.5.0 before 9.5.7 (fixed in 9.5.7) |
| Go | github.com/grafana/grafana | From 10.0.0 before 10.0.12 (fixed in 10.0.12) |
| Go | github.com/grafana/grafana | From 10.1.0 before 10.1.8 (fixed in 10.1.8) |
| Go | github.com/grafana/grafana | From 10.2.0 before 10.2.5 (fixed in 10.2.5) |
| Go | github.com/grafana/grafana | From 10.3.0 before 10.3.4 (fixed in 10.3.4) |