react-dev-utils uses a vulnerable version of immer as a dependency
See original GitHub issueDescribe the bug
react-dev-utils
package uses a vulnerable version (7.0.9) of immer as a dependency.
Here is the GitHub CVE (High Severity) notification for the vulnerability, and here is the commit that has fixed it in the Immer 8.0.1 release earlier today.
react-dev-utils
should be updated to use version 8.0.1 of Immer.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:129
- Comments:41 (10 by maintainers)
Top Results From Across the Web
My React App has unfixable High Severity warnings, how ...
It looks like it's a dependency issue with immer, react-scripts, and react-dev-tools. ... Path react-scripts > react-dev-utils > immer.
Read more >react-dev-utils vulnerabilities
version published direct vulnerabilities
12.0.1 12 Apr, 2022 0. C. 0. H. 0. M. 0. L
12.1.0‑next.14 12 Apr, 2022 0. C. 0. H. 0....
Read more >Security warning on react-dev-utils that depends on immer ...
I noticed from our pipeline that a critical vulnerability has been raised stemming from immer not on the latest version 9.0.6 . immer...
Read more >npm audit fix 의경우
npm WARN using --force Recommended protections disabled. ... Depends on vulnerable versions of react-dev-utils ... node_modules/immer react-dev-utils ...
Read more >react-dev-utils | Yarn - Package Manager
We've also updated our templates to use createRoot and relaxed our check for older versions of Create React App. Migrating from 5.0.0 to...
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
Thanks for looking at this, I really appreciate the hard work you people are doing!
But doesn’t that mean it should be a devDependency?
IMHO there is something seriously wrong with the security audit notifications. I’ve seen it dozens of times:
I think telling users to ignore security warnings is harmful. So either npm shouldn’t warn about irrelevant vulnerabilities, or package maintainers should prioritize security vulnerabilities even if they are irrelevant.
Update: the maintainers are planning to release a patch at some point before next week to address this.