[Snyk] Security upgrade react-scripts from 4.0.1 to 5.0.0#3
[Snyk] Security upgrade react-scripts from 4.0.1 to 5.0.0#3
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TAR-15038581 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-14908844 - https://snyk.io/vuln/SNYK-JS-TAR-6476909 - https://snyk.io/vuln/SNYK-JS-TAR-1579147 - https://snyk.io/vuln/SNYK-JS-TAR-1579152 - https://snyk.io/vuln/SNYK-JS-TAR-1579155 - https://snyk.io/vuln/SNYK-JS-TAR-1536528 - https://snyk.io/vuln/SNYK-JS-TAR-1536531 - https://snyk.io/vuln/SNYK-JS-TAR-1536758
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR upgrades react-scripts from 4.0.1 to 5.0.0 to address 9 security vulnerabilities, including high-severity issues with arbitrary file writes and medium-severity cryptographic and resource exhaustion vulnerabilities in transitive dependencies (tar, elliptic).
Changes:
- Updated react-scripts from 4.0.1 to 5.0.0 in package.json
- Updated package-lock.json with new dependency tree for react-scripts 5.0.0
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "react-dom": "^17.0.1", | ||
| "react-qr-reader": "^2.2.1", | ||
| "react-scripts": "4.0.1", | ||
| "react-scripts": "5.0.0", |
There was a problem hiding this comment.
🔴 Critical | This upgrade introduces a compatibility issue. React-scripts 5.0.0 requires React 18 as a peer dependency, but this project is currently using React 17.0.1. This will likely cause runtime errors or installation failures. You need to either upgrade React and React-DOM to version 18, or use react-scripts 4.0.3 instead, which is the latest 4.x version that fixes the security vulnerabilities while maintaining React 17 compatibility.
| "react-scripts": "5.0.0", | |
| "react-scripts": "4.0.3", |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Snyk has created this PR to fix 9 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-TAR-15038581
SNYK-JS-ELLIPTIC-14908844
SNYK-JS-TAR-6476909
SNYK-JS-TAR-1579147
SNYK-JS-TAR-1579152
SNYK-JS-TAR-1579155
SNYK-JS-TAR-1536528
SNYK-JS-TAR-1536531
SNYK-JS-TAR-1536758
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Arbitrary File Overwrite
🦉 Regular Expression Denial of Service (ReDoS)