Information Exposure Affecting github.com/grafana/grafana/pkg/middleware package, versions <8.5.14 >=9.0.0 <9.1.8


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.11% (45th 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-GITHUBCOMGRAFANAGRAFANAPKGMIDDLEWARE-3043858
  • published 14 Oct 2022
  • disclosed 14 Oct 2022
  • credit Unknown

How to fix?

Upgrade github.com/grafana/grafana/pkg/middleware to version 8.5.14, 9.1.8 or higher.

Overview

github.com/grafana/grafana/pkg/middleware is a The open-source platform for monitoring and observability.

Affected versions of this package are vulnerable to Information Exposure due to leaking authentication tokens to some destination plugins under some conditions. The vulnerability impacts data source and plugin proxy endpoints with authentication tokens.

Workaround

Users who are unable to upgrade to the fixed version should not use API keys, JWT authentication, or any HTTP Header based authentication.

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

7.5 high
Expand this section

SUSE

4.4 medium
Expand this section

Red Hat

7.5 high