ADVISORIES

Alpine Security Database

ALPINE-CVE-2022-31097

Details

Grafana is an open-source platform for monitoring and observability. Versions on the 8.x and 9.x branch prior to 9.0.3, 8.5.9, 8.4.10, and 8.3.10 are vulnerable to stored cross-site scripting via the Unified Alerting feature of Grafana. An attacker can exploit this vulnerability to escalate privilege from editor to admin by tricking an authenticated admin to click on a link. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch. As a workaround, it is possible to disable alerting or use legacy alerting.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.16grafana
From 8.5.0 before 8.5.9-r0 (fixed in 8.5.9-r0)
Alpine:v3.17grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)
Alpine:v3.18grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)
Alpine:v3.19grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)
Alpine:v3.20grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)
Alpine:v3.21grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)
Alpine:v3.22grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)
Alpine:v3.23grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)
Alpine:v3.24grafana
From 9.0.0 before 9.0.3-r0 (fixed in 9.0.3-r0)

References