-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Snyk Vulnerabilities on react-scripts@5.0.1 #13062
Comments
Would adding the following to your package.json work?
|
Edit: the article Dan Abramov (dev) wrote about the vulnerabilities (TLDR: they don't think its an issue and won't fix it) https://overreacted.io/npm-audit-broken-by-design/ This has been discussed many, many times. The CRA devs don't care about vulnerabilities and won't do anything to fix it. If you care, stop using CRA. CRA is officially no longer a recommended project for creating React apps. Use something else. If you want a close to 1-to-1 experience to CRA, then use Vite. This command can get you started: If you want to go down the framework route, then use a suggestion from React's official docs: https://react.dev/learn/start-a-new-react-project |
It did the trick for me. Thanks. |
tenks its working <3 |
this one doesn't work for me.. |
Make sure you run 'npm audit fix' in your terminal after adding this to package.json |
Have you ever meet this question? |
Hey @velsonjr @michaelssavage @arifsoer, We're part of a startup called Seal Security that mitigates software vulnerabilities in older open source versions by backporting/creating standalone security patches - enabling more straightforward remediation in cases like this. We created an If relevant, check out our GitHub repo if you wish to learn more, or start using our app. Please feel free to reach us at info@seal.security if you have any requests/questions. |
When our application was run through Snyk recently, We found couple of vulnerabilities. The details are as follows
Regular Expression Denial of Service (ReDoS) (High Severity)
Package Manager: npm
Vulnerable module: nth-check
Paths : react-scripts@5.0.1 › @svgr/webpack@5.5.0 › @svgr/plugin-svgo@5.5.0 › svgo@1.3.2 › css-select@2.1.0
› nth-check@1.0.2
MPL-2.0 license ( Medium Severity)
Package Manager: npm
Module: axe-core
Paths : react-scripts@5.0.1 › eslint-config-react-app@7.0.1 › eslint-plugin-jsx-a11y@6.5.1 › axe-core@4.4.1
Denial of Service (DoS) ( Medium Severity)
Package Manager: npm
Vulnerable module: nwsapi
Paths: react-scripts@5.0.1 › jest@27.5.1 › @jest/core@27.5.1 › jest-config@27.5.1 › jest-environment-jsdom@27.5.1 ›
jsdom@16.7.0 › nwsapi@2.2.0
We are already running latest version of react-scripts. Any remediations possible?
The text was updated successfully, but these errors were encountered: