Race Condition Affecting github.com/grafana/grafana/pkg/web package, versions >=9.2.0 <9.2.4


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.17% (55th 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 Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGRAFANAGRAFANAPKGWEB-3110667
  • published9 Nov 2022
  • disclosed8 Nov 2022
  • creditUnknown

Introduced: 8 Nov 2022

CVE-2022-39328  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade github.com/grafana/grafana/pkg/web to version 9.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition in the HTTP context creation, which results in an HTTP request being assigned the authentication/authorization middleware of another call. Under heavy load, a call protected by a privileged middleware may receive the middleware of a public query instead. Exploiting this vulnerability allows an unauthenticated user to successfully query protected endpoints.

CVSS Scores

version 3.1