Repository navigation
chore(deps): update dependency ws to v8.23.0 [security] - #576
renovate[bot] wants to merge 1 commit into
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
View your CI Pipeline Execution ↗ for commit f2016c7
💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗ ☁️ Nx Cloud last updated this comment at |
More templates
@tanstack/angular-devtools
@tanstack/devtools
@tanstack/devtools-a11y
@tanstack/devtools-bundler-core
@tanstack/devtools-client
@tanstack/devtools-rspack
@tanstack/devtools-ui
@tanstack/devtools-utils
@tanstack/devtools-vite
@tanstack/devtools-webmcp
@tanstack/devtools-event-bus
@tanstack/devtools-event-client
@tanstack/preact-devtools
@tanstack/react-devtools
@tanstack/solid-devtools
@tanstack/svelte-devtools
@tanstack/vue-devtools
commit: |
de4a62b to
8984bd5
Compare
e18d12a to
5f87fdc
Compare
5f87fdc to
f2016c7
Compare
This PR contains the following updates:
8.20.0→8.23.0ws: Uninitialized memory disclosure
CVE-2026-45736 / GHSA-58qx-3vcg-4xpx
More information
Details
Impact
The
websocket.close()implementation is vulnerable to uninitialized memory disclosure when aTypedArrayis passed as the reason argument.Proof of concept
Patches
The vulnerability was fixed in ws@8.20.1 (websockets/ws@c0327ec).
Credits
Credit for the private and responsible disclosure of this issue goes to Nikita Skovoroda.
Remarks
Although the calculated CVSS severity is medium, the actual severity is believed to be low, as the flaw is only exploitable through misuse that is unlikely in practice.
Resources
Severity
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
ws: Memory exhaustion DoS from tiny fragments and data chunks
CVE-2026-48779 / GHSA-96hv-2xvq-fx4p
More information
Details
Impact
A high volume of exceptionally small fragments and data chunks can be sent by a peer, with modest network traffic, to force the remote peer into allocating and holding structural wrappers that consume far more memory than the default documented message-size limit, leading to process termination due to OOM.
Proof of concept
Patches
The vulnerability was fixed in ws@8.21.0 (websockets/ws@bca91ad) and backported to ws@7.5.11 (websockets/ws@fd36cd8), ws@6.2.4 (websockets/ws@86d3e8a), and ws@5.2.5 (websockets/ws@b5372ac).
Workarounds
In vulnerable versions, the issue can be mitigated by lowering the value of the
maxPayloadoption if possible.Credits
The vulnerability was responsibly disclosed and fixed by Nadav Magier.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
ws: Memory exhaustion DoS via unbounded automatic pong responses
CVE-2026-140009 / GHSA-37g9-w4hg-h9qr
More information
Details
Impact
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.
Proof of concept
Patches
The vulnerability was fixed in ws@8.23.0 (websockets/ws@ace7248) and backported to ws@7.5.14 (websockets/ws@718c33c), ws@6.2.7 (websockets/ws@8a10a6a), and ws@5.2.8 (websockets/ws@560e071).
Workarounds
In vulnerable versions, the issue can be mitigated by enforcing rate-limiting combined with heartbeats, or by setting the
autoPongoption tofalse, if available.Credits
The vulnerability was responsibly disclosed by multiple reporters:
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
websockets/ws (ws)
v8.23.0Compare Source
Features
maxPendingAutoPongsoption (ace7248).Bug fixes
ace7248).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.
The vulnerability was responsibly disclosed by multiple reporters:
In vulnerable versions, the issue can be mitigated by enforcing rate-limiting
combined with heartbeats, or by setting the
autoPongoption tofalse, ifavailable.
v8.22.2Compare Source
Bug fixes
WebSocketconstructor no longer mutates http: or https:url.URLobjects (#2353).
v8.22.1Compare Source
Bug fixes
:(#2344).Other notable changes
http.websocketMask()andhttp.websocketUnmask()are now usedinstead of the
bufferutilvariants when available (2ab3d3e).Sender.frame()no longer returns empty chunks (85319a7).v8.22.0Compare Source
Features
protocolsoption (8b918b0).Bug fixes
websocket.close()with invalid arguments no longer transitions thestate to
WebSocket.CLOSING(#2337).v8.21.3Compare Source
Bug fixes
client_max_window_bitsparameter value is smaller than its configuredclientMaxWindowBits(e97a20e).v8.21.2Compare Source
Bug fixes
2eb3be0).v8.21.1Compare Source
Bug fixes
a2f4e7c).maxBufferedChunksandmaxFragmentsoptions havebeen reduced (
f197ac6).v8.21.0Compare Source
Features
maxBufferedChunksandmaxFragmentsoptions (2b2abd4).Bug fixes
2b2abd4).A high volume of tiny fragments and data chunks could be sent by a peer, using
modest network traffic, to crash a
wsserver or client due to OOM.The vulnerability was responsibly disclosed and fixed by Nadav Magier.
In vulnerable versions, the issue can be mitigated by lowering the value of the
maxPayloadoption if possible.v8.20.1Compare Source
Bug fixes
websocket.close()(
c0327ec).Providing a
TypedArray(e.g.Float32Array) as thereasonargument forwebsocket.close(), rather than the supported string orBuffertypes, causeduninitialized memory to be disclosed to the remote peer.
The issue was privately reported by Nikita Skovoroda.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.