Skip to content

chore(deps): bump ws from 8.22.0 to 8.23.1 - #2206

Merged
aws-cdk-automation merged 1 commit into
mainfrom
dependabot/npm_and_yarn/ws-8.23.1
Dec 4, 2026
Merged

aws-cdk-automation merged 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.22.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.22.0 to 8.23.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.22.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 requested a review from a team as a code owner December 4, 2026 16:19
@dependabot
dependabot Bot deployed to automation December 4, 2026 16:19 Active
@github-actions github-actions Bot added the p2 label Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/ws 8.23.1 🟢 5.9
Details
CheckScoreReason
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1025 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 4Found 13/30 approved changesets -- score normalized to 4
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • yarn.lock

@dependabot
dependabot Bot deployed to no-approval December 4, 2026 16:19 Active
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.56%. Comparing base (dbf7b81) to head (d0feef1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2206   +/-   ##
=======================================
  Coverage   92.56%   92.56%           
=======================================
  Files          81       81           
  Lines       13238    13238           
  Branches     1918     1919    +1     
=======================================
  Hits        12254    12254           
  Misses        946      946           
  Partials       38       38           
Flag Coverage Δ
suite.unit 92.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aws-cdk-automation
aws-cdk-automation added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit c7dea54 Dec 4, 2026
56 checks passed
@aws-cdk-automation
aws-cdk-automation deleted the dependabot/npm_and_yarn/ws-8.23.1 branch December 4, 2026 16:43

This branch was successfully deployed

2 active and 1 inactive deployments
run-tests — d0feef1b Deployed Dec 4, 2026 by dependabot[bot] via integ_cli (cli-integ-tests, 24.19, 1) #7849
no-approval — d0feef1b Deployed Dec 4, 2026 by dependabot[bot] via prepare #7849
automation — d0feef1b Deployed Dec 4, 2026 by dependabot[bot] via Set AutoQueue on PR #2206 #4082
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants