GHSA-6663-c963-2gqg

Suggest an improvement
Source
https://github.com/advisories/GHSA-6663-c963-2gqg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-6663-c963-2gqg/GHSA-6663-c963-2gqg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6663-c963-2gqg
Aliases
Published
2019-02-18T23:58:35Z
Modified
2023-11-08T03:58:11.580073Z
Summary
DoS due to excessively large websocket message in ws
Details

Affected versions of ws do not appropriately limit the size of incoming websocket payloads, which may result in a denial of service condition when the node process crashes after receiving a large payload.

Recommendation

Update to version 1.1.1 or later. Alternatively, set the maxpayload option for the ws server to a value smaller than 256MB.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:18:11Z"
}
References

Affected packages

npm / ws

Package

Affected ranges

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