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


0.0
medium
  • Attack Complexity

    Low

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-GITHUBCOMGRAFANAGRAFANAPKGSERVICESAUTH-2343491

  • published

    19 Jan 2022

  • disclosed

    19 Jan 2022

  • credit

    mxalis

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.