-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
Apply backtracking protection to version 1.8.0 due to "[email protected]" #318
Comments
I was just getting this too but I set my resolution to be version |
It's extremely unlikely you are affected, see GHSA-9wv6-86v2-598j for the attack vector. It's also a non-issue as an attack vector in a browser, you'd just be DoSing your own browser. Unfortunately I've spent months on this already and I don't have the income to support myself continuing to work on every release. If you would like to sponsor work on old versions that might be a possibility. |
There is a 1.x branch in case you want to try porting the patch and opening a PR. The patch is roughly this: 29b96b4. Unfortunately it is also a breaking change, it's not possible to apply the fix without breaking something small. |
react-router-dom v5 hasn't seen any updates in 2 years. While they claim there's no end-of-life, it seems likely it'll continue to rot. We're going to just move to v6, but since it's a lot of effort my app seems to work OK forcing the override in package.json for now. "overrides": {
"path-to-regexp": "^0.1.10"
}, Edit: this didn't work btw, one of our pages broke. We may just ignore this CVE, but |
I have ported a fix into the 1.9.0 release and released it, it may break in extremely minor ways (e.g. |
Thank you so much @blakeembrey ❤️ |
@blakeembrey Thanks a lot! |
@blakeembrey Appreciate your contribution and support, works perfectly, thanks a lot! 🥇 |
Hi all!
Currently Git security bot raised an alert that
path-to-regexp
dependency with version ^1.7.0 is vulnerable in[email protected]
(latest releasedreact-router-dom
) library.Not really sure that
react-router-dom
with 5 version will be patched since team is completely focused on a new 6 version. Resolution with8.0.0
inpackage.json
does not help and breaks application on start with internal module error.Would be perfect if this vulnerability will be fixed in terms of
1.x.x
package version since there is no chance to migrate to latestreact-router-dom
release on current moment in project I am working on.Appreciate your attention!
Thanks!
The text was updated successfully, but these errors were encountered: