Skip to content
OpenAdvisories
Medium · 6.0 CVE-2024-1442 BIT-grafana-2024-1442EUVD-2024-0834GHSA-5mxf-42f5-j782GO-2024-2629

User with permissions to create a data source can CRUD all data sources

Published Mar 7, 2024 · Updated Nov 22, 2024 · Assigned by GRAFANA

Description

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 products

VendorProductAffectedFixed
Grafana Grafana 8.5.0 – < 9.5.7, 10.0.0 – < 10.0.12, 10.1.0 – < 10.1.8, 10.2.0 – < 10.2.5, 10.3.0 – < 10.3.4 9.5.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS grafana No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/grafana/grafana >= 8.5.0, < 9.5.7 9.5.7 GHSA-5mxf-42f5-j782
Go github.com/grafana/grafana >= 10.0.0, < 10.0.12 10.0.12 GHSA-5mxf-42f5-j782
Go github.com/grafana/grafana >= 10.1.0, < 10.1.8 10.1.8 GHSA-5mxf-42f5-j782
Go github.com/grafana/grafana >= 10.2.0, < 10.2.5 10.2.5 GHSA-5mxf-42f5-j782
Go github.com/grafana/grafana >= 10.3.0, < 10.3.4 10.3.4 GHSA-5mxf-42f5-j782
Go github.com/grafana/grafana all versions — GO-2024-2629

Advisories 4

References