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


0.0
medium

Snyk CVSS

    Attack Complexity High
    User Interaction Required

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-GITHUBCOMCENTRIFUGALCENTRIFUGE-1252936
  • published 17 May 2021
  • disclosed 21 Apr 2021
  • credit Alexander Emelin

Introduced: 21 Apr 2021

CVE NOT AVAILABLE CWE-352 Open this link 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.