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
{{ message }}
Repository navigation
Security: Bump ws dependency from 8.20.0 to 8.20.1 (CVE-2026-45736) #6116
The ws dependency is pinned at 8.20.0 in package.json, which is affected by CVE-2026-45736 / GHSA-58qx-3vcg-4xpx — an uninitialized memory disclosure vulnerability in websocket.close().
Details
Affected versions: ws >= 8.0.0, < 8.20.1
Patched version: ws 8.20.1
Severity: Moderate (CVSS 4.4)
CWE: CWE-908 (Use of Uninitialized Resource)
The vulnerability allows uninitialized memory to be disclosed to a remote peer when a TypedArray (e.g. Float32Array) is passed as the reason argument for websocket.close(), rather than the supported string or Buffer types.
Fix
Bump ws from 8.20.0 to 8.20.1 in package.json. This is a patch-level semver update with no breaking changes.
Fixed in v7.0.3 — ws bumped 8.20.0 → 8.21.0. Note 8.20.1 is still flagged (GHSA-58qx-3vcg-4xpx uninitialized-memory disclosure, GHSA-96hv-2xvq-fx4p tiny-fragment DoS); 8.21.0 is the first fully patched release. The transitive ws@7 inside @pm2/js-api is resolved too (js-api 0.8.1), so npm audit --omit=dev is clean.
To upgrade:
# With npm
npm install pm2@latest -g
# Or with bun
bun install pm2@latest -g
# Then reload the daemon and restore your process list
pm2 update
Activity
fix: bump ws from 8.20.0 to 8.20.1 (CVE-2026-45736)
Unitech commentedon Jun 29, 2026
Fixed in v7.0.3 —
wsbumped 8.20.0 → 8.21.0. Note 8.20.1 is still flagged (GHSA-58qx-3vcg-4xpx uninitialized-memory disclosure, GHSA-96hv-2xvq-fx4p tiny-fragment DoS); 8.21.0 is the first fully patched release. The transitivews@7inside@pm2/js-apiis resolved too (js-api 0.8.1), sonpm audit --omit=devis clean.To upgrade: