Description
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 the ws package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.1.1
- Patched version(s): 1.1.1
References
Related Issues
- Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation - CVE-2026-2229
- ReDoS in Sec-Websocket-Protocol header - CVE-2021-32640
- Astro: Memory exhaustion DoS due to missing request body size limit in Server Islands - CVE-2026-29772
- ejs vulnerable to DoS due to weak input validation - CVE-2017-1000189
- Tags:
- npm
- ws
Anything's wrong? Let us know Last updated on January 09, 2023