Cross-site Request Forgery (CSRF) Affecting github.com/grafana/grafana/pkg/middleware package, versions <7.5.15 >=8.0.0 <8.3.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.32% (72nd 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-2396333
  • published 9 Feb 2022
  • disclosed 9 Feb 2022
  • credit jub0bs and abrahack

How to fix?

Upgrade github.com/grafana/grafana/pkg/middleware to version 7.5.15, 8.3.5 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 Cross-site Request Forgery (CSRF) which allows attackers to trick an authenticated user into inviting the attacker as a new user with high privileges.

CVSS Scores

version 3.1
Expand this section

Snyk

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

NVD

8.8 high
Expand this section

SUSE

6.8 medium
Expand this section

Red Hat

6.8 medium