Skip to content
Fencer Vulns
medium 6.5

CVE-2024-1313 json

Users outside an organization can delete a snapshot with its key

published 2024-03-26 2 y ago modified 2026-09-10 1 mo ago also BIT-grafana-2024-1313 , EUVD-2024-1120 , GHSA-67rv-qpw2-6qrr , GO-2024-2697

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 51%
public exploits
0
none known

Summary

It is possible for a user in a different organization from the owner of a snapshot to bypass authorization and delete a snapshot by issuing a DELETE request to /api/snapshots/<key> using its view key. This functionality is intended to only be available to individuals with the permission to write/edit to the snapshot in question, but due to a bug in the authorization logic, deletion requests issued by an unprivileged user in a different organization than the snapshot owner are treated as authorized.

Grafana Labs would like to thank Ravid Mazon and Jay Chen of Palo Alto Research for discovering and disclosing this vulnerability.

This issue affects Grafana: from 9.5.0 before 9.5.18, from 10.0.0 before 10.0.13, from 10.1.0 before 10.1.9, from 10.2.0 before 10.2.6, from 10.3.0 before 10.3.5.

Patch / fix

  • go github.com/grafana/grafana 9.5.18, 10.0.13, 10.1.9, 10.2.6, 10.3.5
  • bitnami grafana 9.5.18, 10.0.13, 10.1.9, 10.2.6, 10.3.5
  • Grafana Grafana 9.5.18, 10.0.13, 10.1.9, 10.2.6, 10.3.5, 10.4.0
  • grafana RHEL 8 9.2.10-16.el8_10
  • grafana-selinux RHEL 8 9.2.10-16.el8_10
  • grafana RHEL 9 9.2.10-16.el9_4
  • grafana-selinux RHEL 9 9.2.10-16.el9_4

red hat advisories RHSA-2024:3265RHSA-2024:2568

  • grafana SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 9.5.18-150200.3.56.1
  • mybatis openSUSE Leap 15.6, openSUSE Leap 15.5 3.5.6-150200.5.6.1
  • grafana Manager Client Tools 12-BETA 9.5.18-4.30.4
  • mgr-push Manager Client Tools 12-BETA 5.0.2-4.24.5
  • spacecmd Manager Client Tools 12-BETA 5.0.6-41.51.3
  • uyuni-tools Manager Client Tools 12-BETA 0.1.9-3.11.4
  • uyuni-common-libs Manager Client Tools 12-BETA 5.0.3-3.39.3
  • grafana Manager Client Tools 15-BETA 9.5.18-159000.4.33.4

suse advisories SUSE-SU-2024:1530-2SUSE-SU-2024:1815-1SUSE-SU-2024:1814-1SUSE-SU-2024:1530-1SUSE-SU-2024:1509-1SUSE-SU-2024:1508-1

  • grafana openSUSE Tumbleweed 10.3.5-1.1

opensuse advisories openSUSE-SU-2024:13831-1

  • grafana AlmaLinux 8 9.2.10-16.el8_10
  • grafana-selinux AlmaLinux 8 9.2.10-16.el8_10
  • grafana AlmaLinux 9 9.2.10-16.el9_4.alma.1
  • grafana-selinux AlmaLinux 9 9.2.10-16.el9_4.alma.1

almalinux advisories ALSA-2024:3265ALSA-2024:2568

  • grafana Rocky Linux 8 9.2.10-16.el8_10
  • grafana Rocky Linux 9 9.2.10-16.el9_4

rocky linux advisories RLSA-2024:3265RLSA-2024:2568

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-1313 updated cvss 6.5

grafana: vulnerable to authorization bypass

  • Red Hat Ceph Storage 6 rhceph/rhceph-6-dashboard-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Ceph Storage 7 rhceph/grafana-rhel9
    affected: workaround, no fix available
  • Red Hat Storage 3 grafana
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Ceph Storage 5.3 Tools rhceph/rhceph-5-rhel8 5-535, rhceph/keepalived-rhel8 2.1.5-44, rhceph/snmp-notifier-rhel8 1.2.1-88, rhceph/rhceph-5-dashboard-rhel8 5-97, rhceph/rhceph-haproxy-rhel8 2.2.19-45
    fixed: vendor fix RHBA-2025:1479
  • Red Hat Enterprise Linux AppStream (v. 8) grafana 9.2.10-16.el8_10, grafana-selinux 9.2.10-16.el8_10
    fixed: vendor fix RHSA-2024:3265
  • Red Hat Enterprise Linux AppStream (v. 9) grafana 9.2.10-16.el9_4, grafana-selinux 9.2.10-16.el9_4
    fixed: vendor fix RHSA-2024:2568
  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8 Red Hat Enterprise Linux 8 grafana-pcp Red Hat Enterprise Linux 9 grafana-pcp Red Hat Enterprise Linux 10 grafana, grafana-pcp
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/grafana/grafana
>=9.5.0, <9.5.18
>=10.0.0, <10.0.13
>=10.1.0, <10.1.9
>=10.2.0, <10.2.6
>=10.3.0, <10.3.5
all versions
9.5.18
10.0.13
10.1.9
10.2.6
10.3.5
bitnami grafana
>=9.5.0, <9.5.18
>=10.0.0, <10.0.13
>=10.1.0, <10.1.9
>=10.2.0, <10.2.6
>=10.3.0, <10.3.5
9.5.18
10.0.13
10.1.9
10.2.6
10.3.5

Affected products

  • Grafana Grafana

Classification

Weakness
  • CWE-639 Authorization Bypass Through User-Controlled Key

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.