Skip to content

ws affected by a DoS when handling a request with many HTTP headers #45108

Closed

Description

@pranshuchittora

Description

ws affected by a DoS when handling a request with many HTTP headers
GHSA-3h5v-q93c-6h6q

Solution

Bump WS
https://github.com/facebook/react-native/blob/main/packages/react-native/package.json#L147

Steps to reproduce

NA

React Native Version

Affected Platforms

Other (please specify)

Output of npx react-native info

NA

Stacktrace or Logs

NA

Reproducer

NA

Screenshots and Videos

No response

Activity

  1. github-actions commented on Jun 21, 2024

    @github-actions
    ⚠️ Add or Reformat Version Info
    ℹ️ We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.70.2
  2. github-actions commented on Jun 21, 2024

    @github-actions
    ⚠️ Missing Reproducible Example
    ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
    • If your bug is UI related: a Snack
    • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
  3. cortinico commented on Jun 22, 2024

    @cortinico
    Contributor

    Bump WS main/packages/react-native/package.json#L147

    The dependency is already using the caret:
    https://github.com/facebook/react-native/blob/f7fe68861a52a0428698a9352d39a6e39afefe42/packages/react-native/package.json#L147

    So you will be pulling in a patched version of ws when you yarn/npm install.

    Anyway, if you wish to bump the base package version, feel free to send a PR.

  4. added
    Help Wanted :octocat:Issues ideal for external contributors.
    and removed
    Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.
    on Jun 22, 2024
  5. cortinico commented on Jun 4, 2026

    @cortinico
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help Wanted :octocat:Issues ideal for external contributors.🌐NetworkingRelated to a networking API.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions