A user with the Viewer role can make Grafana allocate an unbounded amount of memory, and crash it, with a single SQL Expression query that casts a value to a very large BINARY length (memory allocation with excessive size value).
{
"cpes": [
"cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:*:*:*",
"cpe:2.3:a:grafana:grafana:*:*:*:*:*:go:*:*",
"cpe:2.3:a:grafana:grafana:*:*:*:*:enterprise:go:*:*"
],
"severity": "Medium"
}