-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
[Bug]: react-router-dom v5 uses vulnerable version of path-to-regexp #11979
Comments
Here's the relevant CVE GHSA-9wv6-86v2-598j |
Duplicate of #11975 |
Also, you are not affected by this, as you're not using a vulnerable path pattern: https://github.com/openshift/sippy/blob/master/sippy-ng/src/App.js |
Sure, but we rely on I guess I could move to https://www.npmjs.com/package/npm-audit-resolver and add an exception... |
I've submitted a PR for v5, hoping someone can make an exception for this: #11980 |
FWIW, version |
What version of React Router are you using?
v5.2.0
Steps to Reproduce
npm install react-router-dom@5.2.0
npm audit --production
Expected Behavior
#9637 (comment) makes the bold claim there's no end-of-life for any React router version, although there's not been any updates to v5 in years.
If there's truly no EOL I'd expect to see it move to path-to-regexp version that's not vulnerable (v0.1.10 or 8.0.0 are the only fixed versions).
In some hacky
overrides
testing, the fixed v0.1.10 seems to work fine for me.Actual Behavior
Relies on vulnerable path-to-regexp version
The text was updated successfully, but these errors were encountered: