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

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.

CVSS Scores

version 3.1
Expand this section

Snyk

4.2 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None