Skip to content

fix(security): remediate high-severity ws DoS advisory (GHSA-96hv-2xvq-fx4p) - #672

Open
fro-bot wants to merge 1 commit into
mainfrom
fro-bot/security-ws-dos-fix
Open

fro-bot wants to merge 1 commit into
mainfrom
fro-bot/security-ws-dos-fix

Conversation

@fro-bot

@fro-bot fro-bot commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

What

Remediates Dependabot alert #38 (high severity): GHSA-96hv-2xvq-fx4p / CVE-2026-48779ws memory exhaustion DoS from tiny fragments and data chunks, affecting ws >=8.0.0 <8.21.0.

Where it comes from

ws is a transitive dev dependency: jsdom (test environment) -> vitest/@vitest/coverage-v8/@vitest/ui. It is not part of the production build (pnpm build output does not bundle it).

Fix

Add a pnpm-workspace.yaml override pinning ws to ^8.21.0 (first patched version). No direct package.json dependency versions were changed -- this is a transitive-only remediation, scoped to the single advisory.

overrides:
  ws: ^8.21.0

Removal note left in the override comment: drop once jsdom bumps its own ws dependency past 8.21.0.

Verification

  • pnpm install -- lockfile updated, pnpm why ws confirms resolution at 8.21.0
  • pnpm test -- 57/57 files, 1298/1298 tests passing
  • pnpm build -- clean

Filed by Fro Bot autohealing (schedule-95a0d398-29069840394) -- category 2 security remediation.

…q-fx4p

Dependabot alert #38 (high, CVE-2026-48779): ws memory exhaustion DoS via
tiny fragments and data chunks, affecting ws >=8.0.0 <8.21.0. Transitive
dev dependency via jsdom -> vitest (used in the test environment only,
not shipped in the production build).

Add a pnpm-workspace.yaml override pinning ws to >=8.21.0. No direct
dependency versions changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant