Cross-site Request Forgery (CSRF) Affecting github.com/grafana/grafana/pkg/api 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

EPSS
0.34% (71st 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-GITHUBCOMGRAFANAGRAFANAPKGAPI-2396334
  • 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/api to version 7.5.15, 8.3.5 or higher.

Overview

github.com/grafana/grafana/pkg/api is an open and composable observability and data visualization platform.

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