Information Exposure Affecting github.com/grafana/grafana/pkg/api package, versions <8.5.15 >=9.0.0-beta1 <9.2.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.08% (37th 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-3110668
  • published 9 Nov 2022
  • disclosed 8 Nov 2022
  • credit Unknown

How to fix?

Upgrade github.com/grafana/grafana/pkg/api to version 8.5.15, 9.2.4 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 Information Exposure via the "forget password" functionality on the login page. When a POST request is made to the /api/user/password/sent-reset-email API and the username or the email doesn't exist, the JSON response will contain "user not found". Exploiting this vulnerability allows username enumeration.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

5.3 medium
Expand this section

SUSE

5.3 medium
Expand this section

Red Hat

5.3 medium