Missing Origin Validation in WebSockets Affecting code-server package, versions <4.10.1


0.0
high

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Scope Changed
    Confidentiality High
    Integrity High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.13% (47th percentile)
Expand this section
NVD
9.3 critical

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-JS-CODESERVER-3368148
  • published 22 Mar 2023
  • disclosed 22 Mar 2023
  • credit Elliot W - Snyk Research Team

How to fix?

Upgrade code-server to version 4.10.1 or higher.

Overview

code-server is an application that allows running VS Code on a remote server.

Affected versions of this package are vulnerable to Missing Origin Validation in WebSockets handshakes. Exploiting this vulnerability can allow an adversary in specific scenarios to access data from and connect to the code-server instance.