Vulnerability CVE-2022-31097: Information

Description

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.

Severity: HIGH (8.7) Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Published: July 15, 2022
Modified: Nov. 23, 2022
Error type identifier: CWE-79

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
grafanasisyphus9.3.1-alt110.2.2-alt1.1ALT-PU-2022-3295-1311333Fixed
grafanap108.5.20-alt110.2.2-alt1.1ALT-PU-2023-1161-1314152Fixed
grafanac10f19.5.5-alt19.5.5-alt1ALT-PU-2023-4346-2324663Fixed
grafanac9f29.5.5-alt19.5.5-alt1ALT-PU-2023-4567-3323137Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
      Start including
      9.0.0
      End excliding
      9.0.3

      cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
      Start including
      8.5.0
      End excliding
      8.5.9

      cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
      Start including
      8.4.0
      End excliding
      8.4.10

      cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
      Start including
      8.0.0
      End excliding
      8.3.10

      Configuration 2

      cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*