Information Exposure Affecting github.com/grafana/grafana/pkg/services/auth package, versions >=7.2.0 <7.5.13>=8.0.0 <8.3.4


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.12% (48th 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-GITHUBCOMGRAFANAGRAFANAPKGSERVICESAUTH-2343491
  • published19 Jan 2022
  • disclosed19 Jan 2022
  • creditmxalis

Introduced: 19 Jan 2022

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

How to fix?

Upgrade github.com/grafana/grafana/pkg/services/auth to version 7.5.13, 8.3.4 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. In affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access.

CVSS Scores

version 3.1