Skip to content

code-server vulnerable to Missing Origin Validation in WebSockets

Critical severity GitHub Reviewed Published Mar 23, 2023 to the GitHub Advisory Database • Updated Mar 27, 2023

Package

npm code-server (npm)

Affected versions

< 4.10.1

Patched versions

4.10.1

Description

Versions of the package code-server before 4.10.1 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.

References

Published by the National Vulnerability Database Mar 23, 2023
Published to the GitHub Advisory Database Mar 23, 2023
Reviewed Mar 23, 2023
Last updated Mar 27, 2023

Severity

Critical
9.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

CVE ID

CVE-2023-26114

GHSA ID

GHSA-frjg-g767-7363

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.