Bug 2210840 (CVE-2023-2801) - CVE-2023-2801 grafana: data source proxy race condition
Summary: CVE-2023-2801 grafana: data source proxy race condition
Keywords:
Status: NEW
Alias: CVE-2023-2801
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2210907 2210908 2210909 2210920 2214617
Blocks: 2209803
TreeView+ depends on / blocked
 
Reported: 2023-05-29 17:50 UTC by Anten Skrabec
Modified: 2024-03-02 05:32 UTC (History)
25 users (show)

Fixed In Version: grafana 9.4.12, grafana 9.5.3
Doc Type: ---
Doc Text:
A flaw was found in grafana. This issue occurs when sending an API call to the /ds/query or public dashboard query endpoint that has mixed queries, such as having two or more distinct data sources in one API call. As a result, the Grafana instance will crash. Currently, the only feature that uses mixed queries within Grafana is public dashboards, but it is also possible to trigger this issue by calling the API directly. If public dashboards are enabled, reproduction requires a public dashboard to be under a heavy load. If public dashboards are disabled, reproduction only occurs when the /ds/query endpoint with a mixed query payload is under a heavy load with a load testing script.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:7740 0 None None None 2023-12-12 13:55:30 UTC
Red Hat Product Errata RHSA-2023:7741 0 None None None 2023-12-12 13:56:34 UTC

Description Anten Skrabec 2023-05-29 17:50:19 UTC
CVE-2023-2801 Grafana data source proxy race condition

If you send an API call to the /ds/query or public dashboard query endpoint (if public dashboards is enabled) that has mixed queries (i.e. 2 or more distinct data sources in one API call), you can crash your Grafana instance. The only feature that uses mixed queries within Grafana right now is public dashboards, but it is also possible to cause this by calling the API directly.
Steps to reproduce
If public dashboards are enabled, just hit a public dashboard under heavy load. If public dashboards is disabled, the only way you can reproduce this is by hitting the /ds/query endpoint with a mixed query payload under heavy load with a load testing script.

Grafana 9.4.0 - Grafana 10.0

Comment 5 Avinash Hanwate 2023-06-13 15:27:02 UTC
Created grafana tracking bugs for this issue:

Affects: fedora-all [bug 2214617]

Comment 7 errata-xmlrpc 2023-12-12 13:55:29 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 6.1

Via RHSA-2023:7740 https://access.redhat.com/errata/RHSA-2023:7740

Comment 8 errata-xmlrpc 2023-12-12 13:56:32 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 6.1

Via RHSA-2023:7741 https://access.redhat.com/errata/RHSA-2023:7741


Note You need to log in before you can comment on or make changes to this bug.