Skip to content

[HIGH] Bump ws to 7.5.13 - #58333

Open
OskarEichler wants to merge 1 commit into
react:mainfrom
OskarEichler:codex/security-ws-dos
Open

[HIGH] Bump ws to 7.5.13#58333
OskarEichler wants to merge 1 commit into
react:mainfrom
OskarEichler:codex/security-ws-dos

Conversation

@OskarEichler

Copy link
Copy Markdown
Contributor

Summary:

Bumps the direct ws dependency from 7.5.10 to 7.5.13 across the root workspace, React Native package, and dev middleware. This resolves GHSA-96hv-2xvq-fx4p / CVE-2026-48779, a high-severity memory-exhaustion denial of service reachable from WebSocket peers through many tiny fragments and data chunks.

The lockfile entry is consolidated so compatible transitive 7.x consumers, including Metro and react-devtools-core, also resolve to 7.5.13. The unrelated 6.x CLI dependency remains unchanged.

Changelog:

[GENERAL] [SECURITY] - Update ws to a release that prevents memory exhaustion from tiny fragments.

Test Plan:

  • yarn install --frozen-lockfile --ignore-scripts
  • yarn why ws confirms all compatible 7.x consumers resolve to 7.5.13
  • yarn audit --groups dependencies no longer reports GHSA-96hv-2xvq-fx4p
  • NODE_OPTIONS=--experimental-vm-modules yarn jest packages/dev-middleware --runInBand --silent
    • 11 suites passed
    • 135 tests passed
    • 1 snapshot passed
    • Jest retained a pre-existing open handle after reporting success, so the completed process was interrupted after the full result was printed
  • git diff --check

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 4, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant