CVE-2024-1313
Fixed in a distro release EPSS <1%CVSS 6.5
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.
Products: grafana
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | github.com/grafana/grafana | 9.5.18 |
| Go | github.com/grafana/grafana | 10.0.13 |
| Go | github.com/grafana/grafana | 10.1.9 |
| Go | github.com/grafana/grafana | 10.2.6 |
| Go | github.com/grafana/grafana | 10.3.5 |
| Go | github.com/grafana/grafana | no fix |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | grafana | 9.2.10-16.el8_10 |
| AlmaLinux 8 | grafana-selinux | 9.2.10-16.el8_10 |
| AlmaLinux 9 | grafana | 9.2.10-16.el9_4.alma.1 |
| AlmaLinux 9 | grafana-selinux | 9.2.10-16.el9_4.alma.1 |
| Chainguard | grafana-fips-11.6 | 0 |
| Chainguard | grafana-fips-12.0 | 12.0.10-r6 |
| Chainguard | grafana-fips-12.1 | 12.1.10.01-r3 |
| Chainguard | grafana-fips-12.2 | 0 |
| Chainguard | grafana-fips-12.3 | 0 |
| Chainguard | grafana-fips-12.4 | 0 |
| Chainguard | grafana-fips-13.0 | 0 |
| Chainguard | grafana-fips-13.1 | 13.1.0-r0 |
| Red Hat Enterprise Linux 8 | grafana | 0:9.2.10-16.el8_10 |
| Red Hat Enterprise Linux 8 | grafana-debuginfo | 0:9.2.10-16.el8_10 |
| Red Hat Enterprise Linux 8 | grafana-debugsource | 0:9.2.10-16.el8_10 |
| Red Hat Enterprise Linux 8 | grafana-selinux | 0:9.2.10-16.el8_10 |
| Red Hat Enterprise Linux 9 | grafana | 0:9.2.10-16.el9_4 |
| Red Hat Enterprise Linux 9 | grafana-debuginfo | 0:9.2.10-16.el9_4 |
| Red Hat Enterprise Linux 9 | grafana-debugsource | 0:9.2.10-16.el9_4 |
| Red Hat Enterprise Linux 9 | grafana-selinux | 0:9.2.10-16.el9_4 |
| Rocky Linux 8 | grafana | 0:9.2.10-16.el8_10 |
| Rocky Linux 9 | grafana | 0:9.2.10-16.el9_4 |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | golang-github-prometheus-promu | 0.14.0-150000.3.18.2 |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | grafana | 9.5.18-150200.3.56.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | grafana | 9.5.18-150200.3.56.1 |
| SUSE Linux Enterprise Server 12 SP5 | golang-github-prometheus-node_exporter | 1.7.0-1.30.2 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | golang-github-prometheus-node_exporter | 1.7.0-1.30.2 |
| SUSE Manager Client Tools 12 | golang-github-prometheus-alertmanager | 0.26.0-1.27.2 |
| SUSE Manager Client Tools 12 | golang-github-prometheus-node_exporter | 1.7.0-1.30.2 |
| SUSE Manager Client Tools 12 | golang-github-prometheus-promu | 0.14.0-1.18.1 |
| SUSE Manager Client Tools 12 | grafana | 9.5.18-1.63.1 |
| SUSE Manager Client Tools 12 | mgr-daemon | 4.3.9-1.47.1 |
| SUSE Manager Client Tools 12 | spacecmd | 4.3.27-38.139.1 |
| SUSE Manager Client Tools 12 | spacewalk-client-tools | 4.3.19-52.98.1 |
| SUSE Manager Client Tools 12 | spacewalk-koan | 4.3.6-24.36.1 |
| SUSE Manager Client Tools 12 | uyuni-common-libs | 4.3.10-1.39.1 |
| SUSE Manager Client Tools 12-BETA | grafana | 9.5.18-4.30.4 |
| SUSE Manager Client Tools 12-BETA | mgr-push | 5.0.2-4.24.5 |
| SUSE Manager Client Tools 12-BETA | spacecmd | 5.0.6-41.51.3 |
| SUSE Manager Client Tools 12-BETA | uyuni-common-libs | 5.0.3-3.39.3 |
| SUSE Manager Client Tools 12-BETA | uyuni-tools | 0.1.9-3.11.4 |
| SUSE Manager Client Tools 15 | POS_Image-Graphical7 | 0.1.1710765237.46af599-150000.1.21.2 |
| SUSE Manager Client Tools 15 | POS_Image-JeOS7 | 0.1.1710765237.46af599-150000.1.21.2 |
| SUSE Manager Client Tools 15 | ansible | 2.9.27-150000.1.17.2 |
| SUSE Manager Client Tools 15 | dracut-saltboot | 0.1.1710765237.46af599-150000.1.53.2 |
| SUSE Manager Client Tools 15 | grafana | 9.5.18-150000.1.63.2 |
| SUSE Manager Client Tools 15 | mgr-daemon | 4.3.9-150000.1.47.2 |
| SUSE Manager Client Tools 15 | spacecmd | 4.3.27-150000.3.116.2 |
| SUSE Manager Client Tools 15 | spacewalk-client-tools | 4.3.19-150000.3.89.2 |
| SUSE Manager Client Tools 15 | spacewalk-koan | 4.3.6-150000.3.33.2 |
| SUSE Manager Client Tools 15 | uyuni-common-libs | 4.3.10-150000.1.39.2 |
| SUSE Manager Client Tools 15 | uyuni-proxy-systemd-services | 4.3.12-150000.1.21.2 |
| SUSE Manager Client Tools 15-BETA | grafana | 9.5.18-159000.4.33.4 |
| SUSE Manager Client Tools 15-BETA | mgr-push | 5.0.2-159000.4.24.5 |
| SUSE Manager Client Tools 15-BETA | spacecmd | 5.0.6-159000.6.51.4 |
| SUSE Manager Client Tools 15-BETA | uyuni-common-libs | 5.0.3-159000.3.39.3 |
| SUSE Manager Client Tools 15-BETA | uyuni-tools | 0.1.9-159000.3.11.5 |
| SUSE Manager Client Tools Beta for SLE Micro 5 | golang-github-prometheus-node_exporter | 1.7.0-159000.6.5.5 |
| SUSE Manager Client Tools Beta for SLE Micro 5 | uyuni-tools | 0.1.9-159000.3.11.5 |
| SUSE Manager Client Tools for SLE Micro 5 | dracut-saltboot | 0.1.1710765237.46af599-150000.1.53.2 |
| SUSE Manager Client Tools for SLE Micro 5 | uyuni-proxy-systemd-services | 4.3.12-150000.1.21.2 |
| SUSE Manager Proxy Module 4.3 | ansible | 2.9.27-150000.1.17.2 |
| SUSE Manager Proxy Module 4.3 | uyuni-proxy-systemd-services | 4.3.12-150000.1.21.2 |
| Ubuntu 16.04 LTS | grafana | no fix |
| openSUSE Leap 15.5 | POS_Image-Graphical7 | 0.1.1710765237.46af599-150000.1.21.2 |
| openSUSE Leap 15.5 | POS_Image-JeOS7 | 0.1.1710765237.46af599-150000.1.21.2 |
| openSUSE Leap 15.5 | ansible | 2.9.27-150000.1.17.2 |
| openSUSE Leap 15.5 | dracut-saltboot | 0.1.1710765237.46af599-150000.1.53.2 |
| openSUSE Leap 15.5 | golang-github-prometheus-promu | 0.14.0-150000.3.18.2 |
| openSUSE Leap 15.5 | grafana | 9.5.18-150200.3.56.1 |
| openSUSE Leap 15.5 | mybatis | 3.5.6-150200.5.6.1 |
| openSUSE Leap 15.5 | spacecmd | 4.3.27-150000.3.116.2 |
| openSUSE Leap 15.6 | grafana | 9.5.18-150200.3.56.1 |
| openSUSE Leap 15.6 | mybatis | 3.5.6-150200.5.6.1 |
| openSUSE Tumbleweed | grafana | 10.3.5-1.1 |