Privilege Escalation Affecting github.com/grafana/grafana/pkg/api 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

    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 ID SNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGAPI-3028107
  • published 21 Sep 2022
  • disclosed 20 Sep 2022
  • credit Unknown

How to fix?

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

Overview

github.com/grafana/grafana/pkg/api is an open and composable observability and data visualization platform.

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
Expand this section

Snyk

Recommended
6.4 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

3.8 low
Expand this section

SUSE

6.4 medium
Expand this section

Red Hat

6.4 medium