GitHub Advisory Database
GHSA-6663-c963-2gqg
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | ws | All versions before 1.1.1 (fixed in 1.1.1) |