Operator - Namespaced User Path Traversal
Grafana Operator
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana-operator/v5 Go |
|
|
| github.com/grafana/grafana-operator Go |
| No fix yet |
| github.com/grafana/grafana-operator/v3 |
Grafana Operator
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana-operator/v5 Go |
|
|
| github.com/grafana/grafana-operator Go |
| No fix yet |
| github.com/grafana/grafana-operator/v3 |
|
| No fix yet |
| github.com/grafana/grafana-operator/v4 Go |
| No fix yet |
We have released version 5.24.0 of the Grafana Operator. This patch includes a MEDIUM severity security fix for a path traversal/privilege escalation vulnerability in the Grafana Operator.
### Summary
The Grafana Operator supports loading dashboards & library panels using the jsonnet data templating language. The jsonnet expression is evaluated in the context of the operator manager pod.
### Impact
It is possible for a malicious user who can create Dashboard or LibraryPanel resources for a Grafana instance to obtain the Kubernetes service account token of the Grafana Operator manager.
### Affected versions
All Grafana Operator versions <= 5.23
### Solutions and mitigations
From the CVE record · GRAFANA
Grafana Operator evaluates dashboard and library panel jsonnet in its manager pod. A malicious user who can create Dashboard or LibraryPanel resources for a Grafana instance can obtain the operator manager's Kubernetes service account token.
Teams running Grafana Operator versions through 5.23, including the affected Go packages github.com/grafana/grafana-operator/v5 below 5.24.0 and the listed unpatched older package lines, should check their installations.