cve.bz

CVE-2024-1313 grafana grafana

6.5 mediumEPSS 0.6%Fix available

Medium (6.5) in grafana grafana. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 10.0.13, 10.1.9, 10.2.6.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-06-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-639 Authorization Bypass Through User-Controlled Key
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-1313 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-1313?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-1313?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-1313 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Grafanafrom 9.5.0 before 9.5.18
Grafanafrom 10.0.0 before 10.0.13
Grafanafrom 10.1.0 before 10.1.9
Grafanafrom 10.2.0 before 10.2.6
Grafanafrom 10.3.0 before 10.3.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-67rv-qpw2-6qrrGogithub.com/grafana/grafana>=9.5.0 <9.5.189.5.18
GHSA-67rv-qpw2-6qrrGogithub.com/grafana/grafana>=10.0.0 <10.0.1310.0.13
GHSA-67rv-qpw2-6qrrGogithub.com/grafana/grafana>=10.1.0 <10.1.910.1.9
GHSA-67rv-qpw2-6qrrGogithub.com/grafana/grafana>=10.2.0 <10.2.610.2.6
GHSA-67rv-qpw2-6qrrGogithub.com/grafana/grafana>=10.3.0 <10.3.510.3.5
GO-2024-2697Gogithub.com/grafana/grafanaall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2024-1313
Red Hatenterprise_linux:8::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-16.el8_10RHSA-2024:3265
Red Hatenterprise_linux:9::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-16.el9_4RHSA-2024:2568
SUSELinux Enterprise Module for Package Hub 15 SP5golang-github-prometheus-promu0.14.0-150000.3.18.2SUSE-SU-2024:1509-1
SUSELinux Enterprise Module for Package Hub 15 SP5grafana9.5.18-150200.3.56.1SUSE-SU-2024:1530-1
SUSELinux Enterprise Module for Package Hub 15 SP6grafana9.5.18-150200.3.56.1SUSE-SU-2024:1530-2
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Manager Client Tools 12golang-github-prometheus-node_exporter1.7.0-1.30.2SUSE-SU-2024:1508-1
SUSEManager Client Tools 12golang-github-prometheus-alertmanager0.26.0-1.27.2SUSE-SU-2024:1508-1
SUSEManager Client Tools 12golang-github-prometheus-promu0.14.0-1.18.1SUSE-SU-2024:1508-1
SUSEManager Client Tools 12grafana9.5.18-1.63.1SUSE-SU-2024:1508-1
SUSEManager Client Tools 12mgr-daemon4.3.9-1.47.1SUSE-SU-2024:1508-1
SUSEManager Client Tools 12spacecmd4.3.27-38.139.1SUSE-SU-2024:1508-1
SUSEManager Client Tools 12spacewalk-client-tools4.3.19-52.98.1SUSE-SU-2024:1508-1
SUSEManager Client Tools 12spacewalk-koan4.3.6-24.36.1SUSE-SU-2024:1508-1
SUSEManager Client Tools 12uyuni-common-libs4.3.10-1.39.1SUSE-SU-2024:1508-1
21 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5POS_Image-JeOS7, POS_Image-Graphical70.1.1710765237.46af599-150000.1.21.2SUSE-SU-2024:1509-1
openSUSELeap 15.5ansible2.9.27-150000.1.17.2SUSE-SU-2024:1509-1
openSUSELeap 15.5dracut-saltboot0.1.1710765237.46af599-150000.1.53.2SUSE-SU-2024:1509-1
openSUSELeap 15.5golang-github-prometheus-promu0.14.0-150000.3.18.2SUSE-SU-2024:1509-1
openSUSELeap 15.5grafana9.5.18-150200.3.56.1SUSE-SU-2024:1530-1
openSUSELeap 15.5mybatis3.5.6-150200.5.6.1SUSE-SU-2024:1530-1
openSUSELeap 15.5spacecmd4.3.27-150000.3.116.2SUSE-SU-2024:1509-1
openSUSELeap 15.6grafana9.5.18-150200.3.56.1SUSE-SU-2024:1530-2
openSUSELeap 15.6mybatis3.5.6-150200.5.6.1SUSE-SU-2024:1530-2
openSUSETumbleweedgrafana10.3.5-1.1openSUSE-SU-2024:13831-1
AlmaLinux8grafana, grafana-selinux9.2.10-16.el8_10ALSA-2024:3265
AlmaLinux9grafana, grafana-selinux9.2.10-16.el9_4.alma.1ALSA-2024:2568
Rocky Linux8grafana0:9.2.10-16.el8_10RLSA-2024:3265
Rocky Linux9grafana0:9.2.10-16.el9_4RLSA-2024:2568

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat rates this as a Moderate impact flaw as it still require access to perform requests against Grafana and the view access key. The attacker would need minimum privileges in order to jeopardize an environment.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ceph Storage 5.3rhceph/keepalived-rhel8:2.1.5-44Fixed 2025-02-13RHBA-2025:1479
Red Hat Ceph Storage 5.3rhceph/rhceph-5-dashboard-rhel8:5-97Fixed 2025-02-13RHBA-2025:1479
Red Hat Ceph Storage 5.3rhceph/rhceph-5-rhel8:5-535Fixed 2025-02-13RHBA-2025:1479
Red Hat Ceph Storage 5.3rhceph/rhceph-haproxy-rhel8:2.2.19-45Fixed 2025-02-13RHBA-2025:1479
Red Hat Ceph Storage 5.3rhceph/snmp-notifier-rhel8:1.2.1-88Fixed 2025-02-13RHBA-2025:1479
Red Hat Enterprise Linux 8grafana-0:9.2.10-16.el8_10Fixed 2024-05-22RHSA-2024:3265
Red Hat Enterprise Linux 9grafana-0:9.2.10-16.el9_4Fixed 2024-04-30RHSA-2024:2568
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Not affected
Red Hat Ceph Storage 6rhceph/rhceph-6-dashboard-rhel9Will not fix
Red Hat Ceph Storage 7rhceph/grafana-rhel9Affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Storage 3grafanaOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-1313.

References

Check your stackJSON