-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Bump ws to 6.2.2 due to ReDoS vulnerability #34759
Conversation
Base commit: 108c876 |
Base commit: 108c876 |
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
be26d13
to
7aadd46
Compare
Hey @gabrieldonadel, can I ask you to rebase? The CI should be green then. |
7aadd46
to
50c6c1d
Compare
Sounds good, I've just pushed a commit rebasing it |
50c6c1d
to
388b1f1
Compare
@jacdebug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was successfully merged by @gabrieldonadel in fa22a6e. When will my fix make it into a release? | Upcoming Releases |
Summary: A moderate vulnerability was found in all versions of `ws` below 7.4.6 June last year. React native current uses v6.1.4 which is susceptible to it, fortunately this security fix has been backported to v6.X.X and we don't need to upgrade any major versions/worry about breaking changes. This PR bumps `ws` to 6.2.2 ([CHANGELOG](https://github.com/websockets/ws/releases/tag/6.2.2)) due to this ReDoS vulnerability More information about this vulnerability can be found here -> GHSA-6fc8-4gx4-v693 Closes facebook#31646 ## Changelog [Internal] [Security] - Bump ws to 6.2.2 due to ReDoS vulnerability Pull Request resolved: facebook#34759 Test Plan: Ensure WebSocket tests are working as expected Tested HMR working on Twilight | iOS | Android | | https://pxl.cl/2g70M | https://pxl.cl/2g70V | Reviewed By: hramos, cortinico Differential Revision: D39722905 fbshipit-source-id: 12088ab5ea26d904675de484e2014949d6696465
Summary
A moderate vulnerability was found in all versions of
ws
below 7.4.6 June last year. React native current uses v6.1.4 which is susceptible to it, fortunately this security fix has been backported to v6.X.X and we don't need to upgrade any major versions/worry about breaking changes. This PR bumpsws
to 6.2.2 (CHANGELOG) due to this ReDoS vulnerabilityMore information about this vulnerability can be found here -> GHSA-6fc8-4gx4-v693
Closes #31646
Changelog
[Internal] [Security] - Bump ws to 6.2.2 due to ReDoS vulnerability
Test Plan
Ensure WebSocket tests are working as expected