Cross-site Request Forgery (CSRF) Affecting github.com/centrifugal/centrifuge package, versions <0.16.0


Severity

Recommended
0.0
medium
0
10

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

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-GITHUBCOMCENTRIFUGALCENTRIFUGE-1252936
  • published17 May 2021
  • disclosed21 Apr 2021
  • creditAlexander Emelin

Introduced: 21 Apr 2021

CVE NOT AVAILABLE CWE-352  (opens in a new tab)

How to fix?

Upgrade github.com/centrifugal/centrifuge to version 0.16.0 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the WebSocket handler since all origins are allowed by default, allowing the possibility for an attacker to hijack a victim's WebSocket connection.

CVSS Scores

version 3.1