Skip to content

Bump ws override to version 8.21.0 for security - #15526

Merged
AviaAv merged 1 commit into
realsenseai:developmentfrom
AviaAv:fix-ws-dos-cve
Aug 9, 2026
Merged

AviaAv merged 1 commit into
realsenseai:developmentfrom
AviaAv:fix-ws-dos-cve

Conversation

@AviaAv

@AviaAv AviaAv commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

The ws override was pinned to 8.20.1, which is the highest version still covered by GHSA-96hv-2xvq-fx4p (affected range: 8.0.0 - 8.20.1, inclusive). Bumping the override to 8.21.0 moves it out of the advisory range.

This is a runtime path, not dev-only: socket.io-client -> engine.io-client -> ws.

Verified:

  • npm audit --omit=dev: 2 high -> 0 vulnerabilities
  • npm ci clean, installed ws = 8.21.0
  • npm run build passes
  • npm test: 115/115 pass

The lockfile also collapses two nested ws copies into one hoisted entry. That dedup is not caused by this bump - the two copies held different versions when the lockfile was first tracked (8.20.0 and 8.18.3, legitimately nested), and became redundant once an override forced both edges to a single version. Any npm install performs the same collapse.

@AviaAv
AviaAv requested a review from Nir-Az August 9, 2026 09:34

@sysrsbuild-gh-agentic sysrsbuild-gh-agentic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rs-agentic bot auto-review ✅ No bugs found. Change is clean and minimal — security bump is well-motivated and test coverage confirms correctness.

@AviaAv
AviaAv merged commit 77f1cd3 into realsenseai:development Aug 9, 2026
35 checks passed
@AviaAv
AviaAv deleted the fix-ws-dos-cve branch August 9, 2026 13:42
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.

4 participants