Back to bug 2210840

Who When What Removed Added
Anten Skrabec 2023-05-29 17:50:19 UTC CC security-response-team
Anten Skrabec 2023-05-29 17:50:49 UTC CC amctagga, aoconnor, bniver, flucifre, gmeno, jkurik, mbenjamin, mhackett, nathans, scox, sostapov, vereddy
Paige Jung 2023-05-29 19:42:19 UTC Doc Text 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.
Mitigations
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.
Avinash Hanwate 2023-05-30 02:33:20 UTC CC gparvin, jwendell, njean, owatkins, pahickey, rcernich, stcannon, teagle, twalsh
Avinash Hanwate 2023-05-30 02:36:17 UTC Severity high medium
Priority high medium
Avinash Hanwate 2023-05-30 02:57:01 UTC Depends On 2210907, 2210909, 2210908
Group team ocp_embargoes
Avinash Hanwate 2023-05-30 02:57:50 UTC CC dfreiber, jburrell, rogbas, vkumar
Sandipan Roy 2023-05-30 04:13:24 UTC Depends On 2210920
Avinash Hanwate 2023-06-13 15:22:47 UTC Group qe_staff, team ocp_embargoes, security
Summary EMBARGOED CVE-2023-2801 grafana: data source proxy race condition CVE-2023-2801 grafana: data source proxy race condition
CC grafana-maint
Avinash Hanwate 2023-06-13 15:26:58 UTC Depends On 2214617
Red Hat Bugzilla 2023-07-07 08:34:20 UTC Assignee security-response-team nobody
CC security-response-team

Back to bug 2210840