Skip to content

build(deps): bump ws from 8.21.3 to 8.23.1 - #3052

Merged
svc-cli-bot merged 1 commit into
mainfrom
dependabot-npm_and_yarn-ws-8.23.1
Dec 2, 2026
Merged

svc-cli-bot merged 1 commit into
mainfrom
dependabot-npm_and_yarn-ws-8.23.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps ws from 8.21.3 to 8.23.1.

Release notes

Sourced from ws's releases.

8.23.1

Bug fixes

  • Window bits values that do not conform to the RFC 7692 1*DIGIT ABNF rule are no longer accepted (#2355).
  • SharedArrayBuffer and ArrayBuffer instances created in other realms are no longer masked in place (#2358).
  • Errors thrown when a redirect request is created are now properly handled (#2359).
  • Sec-WebSocket-Version header field values that do not conform to the RFC 6455 version ABNF grammar are no longer accepted (#2367).

8.23.0

Features

  • Introduced the maxPendingAutoPongs option (ace7248f).

Bug fixes

  • Fixed a remote memory exhaustion DoS vulnerability (ace7248f).

A malicious peer can flood the other peer with Ping frames while stopping reads, forcing it to buffer Pong frames that are automatically sent in response until memory is exhausted, leading to process termination due to OOM.

import { WebSocket, WebSocketServer } from 'ws';
const wss = new WebSocketServer({ port: 0 }, function () {
const data = Buffer.alloc(125);
const { port } = wss.address();
const ws = new WebSocket(ws://localhost:${port});
ws.on('open', function () {
ws.pause();
(function ping() {
  ws.ping(data, function (err) {
    if (err) return;
    ping();
  });
})();

});
ws.on('error', console.error);
ws.on('close', function (code, reason) {
console.log(client close - code: ${code} reason: ${reason.toString()});
});
});
</tr></table>

... (truncated)

Commits
  • 321d47c [dist] 8.23.1
  • fe611bf [perf] Read the first two bytes of a frame in place (#2368)
  • ca20cc8 [fix] Reject invalid Sec-WebSocket-Version values (#2367)
  • 32e2e01 [doc] Sort error codes alphabetically
  • 0cc9185 [doc] Clarify that the default masking keys come from a pool (#2364)
  • 36b30c0 [doc] Fix typo in permessage-deflate JSDoc (#2363)
  • fc667e4 [fix] Emit errors thrown while creating the redirect request (#2359)
  • dadc166 [fix] Do not mask a SharedArrayBuffer in place (#2358)
  • 0f1aa5d [fix] Reject non-decimal window bits values (#2355)
  • b704a2f [doc] Add missing parameter names to JSDoc comments (#2356)
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner December 1, 2026 21:32
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

This PR lacks any commits of the 'fix' or 'feat' type, and therefore will not trigger a release. To silence all further warnings, react to this warning comment (or any other) with the 👀 emoji.

NOTE: If your repo uses squash commits, make sure to add the appropriate conventional commit prefix (e.g., 'fix:', 'feat:', 'chore:', etc) in the squash commit message.

@dependabot
dependabot Bot force-pushed the dependabot-npm_and_yarn-ws-8.23.1 branch 2 times, most recently from e2213ec to 0bf6c1c Compare December 2, 2026 02:33
Bumps [ws](https://github.com/websockets/ws) from 8.21.3 to 8.23.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.21.3...8.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot-npm_and_yarn-ws-8.23.1 branch from 0bf6c1c to f27024f Compare December 2, 2026 04:38
@svc-cli-bot
svc-cli-bot merged commit 5678462 into main Dec 2, 2026
41 checks passed
@svc-cli-bot
svc-cli-bot deleted the dependabot-npm_and_yarn-ws-8.23.1 branch December 2, 2026 07:37
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant