ws vulnerabilities
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
- Registry
- npm
- Latest
- 8.23.0
- License
- MIT
7 known advisories
The latest version, 8.23.0, is not affected by any of them. Projects on older versions may be.
npm install ws@8.23.0Is your project on an affected ws?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for ws
ws: Memory exhaustion DoS from tiny fragments and data chunks
- Affected
- >=1.1.0 <5.2.5 · >=6.0.0 <6.2.4 · >=7.0.0 <7.5.11 · >=8.0.0 <8.21.0
- Fixed in
- 5.2.5, 6.2.4, 7.5.11, 8.21.0
ws: Uninitialized memory disclosure
- Affected
- >=8.0.0 <8.20.1
- Fixed in
- 8.20.1
ws affected by a DoS when handling a request with many HTTP headers
- Affected
- >=2.1.0 <5.2.4 · >=6.0.0 <6.2.3 · >=7.0.0 <7.5.10 · >=8.0.0 <8.17.1
- Fixed in
- 5.2.4, 6.2.3, 7.5.10, 8.17.1
ReDoS in Sec-Websocket-Protocol header
- Affected
- >=7.0.0 <7.4.6 · >=6.0.0 <6.2.2 · >=5.0.0 <5.2.3
- Fixed in
- 5.2.3, 6.2.2, 7.4.6
Denial of Service in ws
- Affected
- >=0.6.0 <1.1.5 · >=2.0.0 <3.3.1
- Fixed in
- 1.1.5, 3.3.1
DoS due to excessively large websocket message in ws
- Affected
- <1.1.1
- Fixed in
- 1.1.1
Remote Memory Disclosure in ws
- Affected
- <1.0.1
- Fixed in
- 1.0.1
Is your ws version vulnerable?
- ws 8.23No known advisories in 8.23.0
- ws 8.22No known advisories in 8.22.2
- ws 8.21No known advisories in 8.21.3
- ws 8.201 advisory in 8.20.1
- ws 8.192 advisories in 8.19.0
- ws 8.182 advisories in 8.18.3
- ws 7.5No known advisories in 7.5.14
- ws 7.42 advisories in 7.4.6
- ws 7.33 advisories in 7.3.1
- ws 7.23 advisories in 7.2.5
- ws 7.13 advisories in 7.1.2
- ws 7.03 advisories in 7.0.1
- ws 6.2No known advisories in 6.2.7
- ws 6.13 advisories in 6.1.4
- ws 6.03 advisories in 6.0.0
Which of your client projects still run an old ws?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.