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
- node-opcua DoS vulnerability via message with memory allocation that exceeds v8's memory limit - CVE-2022-25231
- ejs vulnerable to DoS due to weak input validation - CVE-2017-1000189
- Remote Memory Disclosure in ws - CVE-2016-10518
- ReDoS in Sec-Websocket-Protocol header - CVE-2021-32640
- Tags:
- npm
- ws
Anything's wrong? Let us know Last updated on January 09, 2023