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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.14% (51st 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 IDSNYK-JS-CODESERVER-3368148
  • published22 Mar 2023
  • disclosed22 Mar 2023
  • creditElliot W - Snyk Research Team

Introduced: 22 Mar 2023

CVE-2023-26114  (opens in a new tab)
CWE-1385  (opens in a new tab)
First added by Snyk

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.

CVSS Scores

version 3.1