GHSA-frjg-g767-7363

Suggest an improvement
Source
https://github.com/advisories/GHSA-frjg-g767-7363
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-frjg-g767-7363/GHSA-frjg-g767-7363.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-frjg-g767-7363
Aliases
Published
2023-03-23T06:30:15Z
Modified
2023-11-08T04:11:58.380024Z
Severity
  • 9.3 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
Summary
code-server vulnerable to Missing Origin Validation in WebSockets
Details

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.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1385",
        "CWE-346"
    ],
    "severity": "CRITICAL",
    "github_reviewed_at": "2023-03-23T19:58:10Z",
    "nvd_published_at": "2023-03-23T05:15:00Z"
}
References

Affected packages

npm / code-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.10.1