You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed an uninitialized memory disclosure issue in websocket.close()
(c0327ec1).
Providing a TypedArray (e.g. Float32Array) as the reason argument for
websocket.close(), rather than the supported string or Buffer types, caused
uninitialized memory to be disclosed to the remote peer.
import{deepStrictEqual}from'node:assert';import{WebSocket,WebSocketServer}from'ws';constwss=newWebSocketServer({port: 0,skipUTF8Validation: true},function(){const{ port }=wss.address();constws=newWebSocket(ws://localhost:${port},{skipUTF8Validation: true});ws.on('close',function(code,reason){deepStrictEqual(reason,Buffer.alloc(80));});});wss.on('connection',function(ws){ws.close(1000,newFloat32Array(20));});
Fixed an uninitialized memory disclosure issue in websocket.close()
(c0327ec1).
Providing a TypedArray (e.g. Float32Array) as the reason argument for
websocket.close(), rather than the supported string or Buffer types, caused
uninitialized memory to be disclosed to the remote peer.
import{deepStrictEqual}from'node:assert';import{WebSocket,WebSocketServer}from'ws';constwss=newWebSocketServer({port: 0,skipUTF8Validation: true},function(){const{ port }=wss.address();constws=newWebSocket(ws://localhost:${port},{skipUTF8Validation: true});ws.on('close',function(code,reason){deepStrictEqual(reason,Buffer.alloc(80));});});wss.on('connection',function(ws){ws.close(1000,newFloat32Array(20));});
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.
Note
Low Risk
Low risk lockfile-only dependency bumps; behavior should be unchanged aside from pulling in upstream ws fixes (including a security bugfix).
Overview
Updates the create-react-app starter’s lockfiles to pull newer ws versions: ws 8.13.0 → 8.20.1 (via webpack-dev-server) and ws 7.5.9 → 7.5.10.
No application/source code changes; this is strictly a dependency resolution update in package-lock.json and yarn.lock.
Reviewed by Cursor Bugbot for commit ad44f68. Bugbot is set up for automated code reviews on this repo. Configure here.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.
To disable these notifications, a workspace admin can disable them in workspace settings.
☁️ Nx Cloud last updated this comment at 2026-05-19 03:43:09 UTC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code
0 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps and ws. These dependencies needed to be updated together.
Updates
wsfrom 8.13.0 to 8.20.1Release notes
Sourced from ws's releases.
... (truncated)
Commits
5d9b316[dist] 8.20.1c0327ec[security] Fix uninitialized memory disclosure inwebsocket.close()ce2a3d6[ci] Test on node 2658e45b8[ci] Do not test on node 255f26c24[ci] Run the lint step on node 248439255[dist] 8.20.0d3503c1[minor] Export thePerMessageDeflateclass and header utils3ee5349[api] Convert theisServerandmaxPayloadparameters to options91707b4[doc] Add missing space8b55319[pkg] Update eslint to version 10.0.1Updates
wsfrom 7.5.9 to 7.5.10Release notes
Sourced from ws's releases.
... (truncated)
Commits
5d9b316[dist] 8.20.1c0327ec[security] Fix uninitialized memory disclosure inwebsocket.close()ce2a3d6[ci] Test on node 2658e45b8[ci] Do not test on node 255f26c24[ci] Run the lint step on node 248439255[dist] 8.20.0d3503c1[minor] Export thePerMessageDeflateclass and header utils3ee5349[api] Convert theisServerandmaxPayloadparameters to options91707b4[doc] Add missing space8b55319[pkg] Update eslint to version 10.0.1Dependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Note
Low Risk
Low risk lockfile-only dependency bumps; behavior should be unchanged aside from pulling in upstream
wsfixes (including a security bugfix).Overview
Updates the
create-react-appstarter’s lockfiles to pull newerwsversions:ws8.13.0 → 8.20.1 (viawebpack-dev-server) andws7.5.9 → 7.5.10.No application/source code changes; this is strictly a dependency resolution update in
package-lock.jsonandyarn.lock.Reviewed by Cursor Bugbot for commit ad44f68. Bugbot is set up for automated code reviews on this repo. Configure here.