Child library nth-check is vulnerable to CVE-2021-3803 even with the latest react-scripts@5.0.1
See original GitHub issueThere is a dependent library nth-check in react-scripts which is vulnerable to CVE-2021-3803. The mend scan is reporting this vulnerability for our project.
– 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
nth-check beyond v2.0.1(including) is available and safe from this vulnerability.
To fix this we have upgraded to the latest version for react-scripts (as shown above) still this dependency is not upgraded. Can you please take some action and upgrade this transitive dependency inside the parent library react-scripts at the earliest possible.
Issue Analytics
- State:
- Created a year ago
- Reactions:15
- Comments:7
Top Results From Across the Web
Inefficient Regular Expression Complexity in nth-check - Stack ...
Since react-scripts is essentially a build tool, even if the vulnerability was indeed genuine, it would be considered only a development ...
Read more >How to migrate Create-React-App to React version 18
My experience migrating my Create-React-App (CRA) to React Version 18. How to deal with the breaking changes and handle errors (Typescript ...
Read more >react-scripts@4.0.3 - Snyk Vulnerability Database
Report a new vulnerability Found a mistake? Direct Vulnerabilities. No direct vulnerabilities have been found for this package in Snyk's vulnerability database.
Read more >6 high severity vulnerabilities to address all issues ... - You.com
When I enter npm install in the relevant react project folder, ... webpack Depends on vulnerable versions of webpack-dev-server node_modules/react-scripts ...
Read more >react-scripts: Versions - Openbase
npm install --save --save-exact react-scripts@5.0.1 ... ESLint 7 and added many new rules including some for Jest and React Testing Library as well...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Vulnerable react-scripts 5.0.1 makes our product vulnerable. Please upgrade the react-scripts 5.0.1 at the earliest possible with transitive dependencies security patches. It should have the updated transitive dependency for nth-check by upgrading nth-check/1.0.2 to latest available version nth-check/2.1.1.
An “Inefficient Regular Expression Complexity” vulnerability is not of any concern in a build tool. Feel safe to waive this security issue. Also look at this pinned post.