CVEfocus › CVE database › CVE-2024-1313

CVE-2024-1313Users outside an organization can delete a snapshot with its key

CVSS 6.5 MediumEPSS 0.8% (higher than 53% of CVEs)Published 2024-03-26Updated 2025-02-13Assigner: GRAFANA

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.

CWE-639

What to do

Fixed builds are available from AlmaLinux, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
1Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04grafanaFix pendingUBUNTU-CVE-2024-1313
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 9grafanaFixed0:9.2.10-16.el9_4RHSA-2024:2568
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-selinuxFixed0:9.2.10-16.el9_4RHSA-2024:2568
Red Hat Enterprise Linux 8grafanaFixed0:9.2.10-16.el8_10RHSA-2024:3265
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-selinuxFixed0:9.2.10-16.el8_10RHSA-2024:3265
AlmaLinux 9grafanaFixed9.2.10-16.el9_4.alma.1ALSA-2024:2568
AlmaLinux 9grafana-selinuxFixed9.2.10-16.el9_4.alma.1ALSA-2024:2568
AlmaLinux 8grafanaFixed9.2.10-16.el8_10ALSA-2024:3265
AlmaLinux 8grafana-selinuxFixed9.2.10-16.el8_10ALSA-2024:3265
Rocky Linux 9grafanaFixed0:9.2.10-16.el9_4RLSA-2024:2568
Rocky Linux 8grafanaFixed0:9.2.10-16.el8_10RLSA-2024:3265
Go librarygithub.com/grafana/grafanaFixed10.3.5GO-2024-2697

What the vendor says

As published in the CVE record by GRAFANA, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.