Update npm package ws to v8.20.1 [SECURITY]#8740
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
PR SummaryLow Risk Overview Reviewed by Cursor Bugbot for commit ba7d376. Bugbot is set up for automated code reviews on this repo. Configure here. |
🤖 Augment PR SummarySummary: Updates the pinned Changes:
🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ba7d376. Configure here.
| "tsx": "4.20.6", | ||
| "typescript": "5.9.3", | ||
| "ws": "8.18.3" | ||
| "ws": "8.20.1" |
There was a problem hiding this comment.
Lockfile still pins vulnerable ws
Medium Severity
This PR bumps ws to 8.20.1 in both workspace manifests, but yarn.lock still resolves @apps/hash-api and @apps/plugin-browser to ws@8.18.3. Yarn Berry installs from the lockfile, so the CVE fix may not land until the lockfile is regenerated and committed with the manifest changes.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit ba7d376. Configure here.
ws to v8.20.1 [SECURITY]ws to v8.20.1 [SECURITY] - autoclosed
Pull request was closed
ws to v8.20.1 [SECURITY] - autoclosedws to v8.20.1 [SECURITY]
ba7d376 to
ba52300
Compare


This PR contains the following updates:
8.18.3→8.20.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2026-45736
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
Release Notes
websockets/ws (ws)
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.
v8.20.0Compare Source
Features
PerMessageDeflateclass and utilities for theSec-WebSocket-ExtensionsandSec-WebSocket-Protocolheaders (d3503c1).v8.19.0Compare Source
Features
closeTimeoutoption (#2308).Bug fixes
1998485).Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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 has been generated by Renovate Bot.