Skip to content

chore: Bump ws from 8.21.0 to 8.23.1 - #754

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ws-8.23.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ws-8.23.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps ws from 8.21.0 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 December 4, 2026 13:17
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 4, 2026
@coveralls

coveralls commented Dec 4, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 47363806449

Coverage increased (+0.03%) to 87.977%

Details

  • Coverage increased (+0.03%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 6728
Covered Lines: 6164
Line Coverage: 91.62%
Relevant Branches: 2371
Covered Branches: 1841
Branch Coverage: 77.65%
Branches in Coverage %: Yes
Coverage Strength: 668.57 hits per line

💛 - Coveralls

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/ws-8.23.1 branch 2 times, most recently from 8a75b36 to a7a4fb4 Compare December 4, 2026 13:53
Bumps [ws](https://github.com/websockets/ws) from 8.21.0 to 8.23.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.21.0...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 a7a4fb4 to 9a1eba3 Compare December 4, 2026 15:20
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