Improper Authentication Affecting github.com/grafana/grafana/pkg/api package, versions >=5.3.0 <8.3.10 >=8.4.0 <8.4.10 >=8.5.0 <8.5.9 >=9.0.0 <9.0.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.17% (55th 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-2950818
  • published 15 Jul 2022
  • disclosed 14 Jul 2022
  • credit HTTPVoid team

How to fix?

Upgrade github.com/grafana/grafana/pkg/api to version 8.3.10, 8.4.10, 8.5.9, 9.0.3 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 Improper Authentication which allows a malicious user, who has the authorization to log in via an OAuth integration that provides a login name, to take over the account of another user in the same Grafana instance.

Note: This is exploitable only if:

  1. the malicious user is authorized to log in to Grafana via OAuth

  2. the malicious user's external user id is not already associated with an account in Grafana

  3. the malicious user's email address is not already associated with an account in Grafana

  4. the malicious user knows the Grafana username or email of the target user

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

7.5 high
Expand this section

SUSE

7.1 high
Expand this section

Red Hat

7.1 high