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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.44% (75th 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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGMIDDLEWARE-2396333
  • published9 Feb 2022
  • disclosed9 Feb 2022
  • creditjub0bs and abrahack

Introduced: 9 Feb 2022

CVE-2022-21703  (opens in a new tab)
CWE-352  (opens in a new tab)

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