Privilege Escalation Affecting github.com/grafana/grafana/pkg/services package, versions <8.5.13>=9.0.0 <9.0.9>=9.1.0 <9.1.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGSERVICES-3028108
  • published21 Sept 2022
  • disclosed20 Sept 2022
  • creditUnknown

Introduced: 20 Sep 2022

CVE-2022-36062  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade github.com/grafana/grafana/pkg/services to version 8.5.13, 9.0.9, 9.1.6 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Escalation during the migrations of translating legacy access control permissions into RBAC permissions due to a bug in the process, which grants additional access to folders or dashboards which only had Admin role. Exploiting this vulnerability allows Editors and Viewers to edit and view the folder or the dashboards which they should have no access to.

Note: This vulnerability affects environments where RBAC was enabled at least once and only folders/dashboards with Admin-only permissions

CVSS Scores

version 3.1