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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | ws node module | <=1.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-ws | 1.1.0+ds1.e6ddaae4-5 | — |
| Debian 13 | node-ws | 1.1.0+ds1.e6ddaae4-5 | — |
| Debian 12 | node-ws | 1.1.0+ds1.e6ddaae4-5 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-ws | No fix yet | — |
| Ubuntu 16.04 LTS | node-ws | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
ws - Denial of Service
auxiliary/dos/http/ws_dos
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | ws | < 1.1.1 | 1.1.1 | GHSA-6663-c963-2gqg |