Description
ws is a "simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.
Remediation
References
https://github.com/nodejs/node/issues/7388
https://nodesecurity.io/advisories/120
Related Vulnerabilities
CVE-2021-3805 Vulnerability in npm package object-path
CVE-2018-3715 Vulnerability in npm package glance
CVE-2020-12827 Vulnerability in npm package mjml
CVE-2017-2611 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2023-30521 Vulnerability in maven package org.jenkins-ci.plugins:assembla-merge-request-builder