Skip to content

chore(deps): bump ws from 8.21.0 to 8.23.1 - #222

Merged
egekorkan merged 1 commit into
masterfrom
dependabot/npm_and_yarn/ws-8.23.1
Dec 2, 2026
Merged

egekorkan merged 1 commit into
masterfrom
dependabot/npm_and_yarn/ws-8.23.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 2, 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 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.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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 2, 2026
@netlify

netlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for thingweb ready!

Name Link
🔨 Latest commit 65276b0
🔍 Latest deploy log https://app.netlify.com/projects/thingweb/deploys/6b101eaf92e70341a6bf67e6
😎 Deploy Preview https://deploy-preview-222--thingweb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 64 (🔴 down 6 from production)
Accessibility: 95 (no change from production)
Best Practices: 92 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@egekorkan
egekorkan merged commit 400ac7a into master Dec 2, 2026
7 checks passed
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