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. Learn more

Threat Intelligence

EPSS
0.07% (31st 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-GITHUBCOMGRAFANAGRAFANAPKGAPI-3110668
  • published9 Nov 2022
  • disclosed8 Nov 2022
  • creditUnknown

Introduced: 8 Nov 2022

CVE-2022-39307  (opens in a new tab)
CWE-200  (opens in a new tab)

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