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.
Remediation
References
https://github.com/coder/code-server/commit/d477972c68fc8c8e8d610aa7287db87ba90e55c7
https://github.com/coder/code-server/releases/tag/v4.10.1
https://security.snyk.io/vuln/SNYK-JS-CODESERVER-3368148
Related Vulnerabilities
CVE-2014-0193 Vulnerability in maven package org.onosproject:onlab-stc
CVE-2020-7751 Vulnerability in npm package pathval
CVE-2020-8823 Vulnerability in npm package sockjs
CVE-2017-5662 Vulnerability in maven package org.eclipse.birt.runtime.3_7_1:org.apache.batik.dom
CVE-2019-8331 Vulnerability in maven package org.webjars.bower:bootstrap