Skip to content
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] Security upgrade react-scripts from 3.4.4 to 5.0.0 #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sascha1337
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
    • yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 763/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.4
Path Traversal
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Path Traversal

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] None +2 63.7 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 525 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 21.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 10.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 49.1 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 1.88 MB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +2 94.9 kB nicolo-ribaudo
npm/@babel/[email protected] Transitive: environment +4 658 kB nicolo-ribaudo
npm/@babel/[email protected] environment +2 2.45 MB nicolo-ribaudo
npm/@cosmjs/[email protected] None +4 426 kB webmaster128
npm/@cosmjs/[email protected] Transitive: environment, network +13 4.38 MB webmaster128
npm/@cosmjs/[email protected] None +13 2.06 MB webmaster128
npm/@cosmjs/[email protected] None +5 690 kB webmaster128
npm/@cosmjs/[email protected] None +2 486 kB webmaster128
npm/@cosmjs/[email protected] Transitive: environment, network +13 3.22 MB webmaster128
npm/@cosmjs/[email protected] None 0 36.1 kB webmaster128
npm/@jridgewell/[email protected] None +1 99.5 kB jridgewell
npm/@jridgewell/[email protected] None 0 45.9 kB jridgewell
npm/@jridgewell/[email protected] None +1 222 kB jridgewell
npm/@ledgerhq/[email protected] None +4 323 kB gre
npm/@ledgerhq/[email protected] None +4 335 kB gre
npm/@protobufjs/[email protected] None 0 9.05 kB dcode
npm/@types/[email protected] None +1 155 kB types
npm/@types/[email protected] None +1 1.11 MB types
npm/@types/[email protected] None 0 28.6 kB types
npm/@types/[email protected] None 0 13.2 kB types
npm/@types/[email protected] None 0 690 kB types
npm/@types/[email protected] None 0 24.2 kB types
npm/@types/[email protected] None +2 30.1 kB types
npm/@types/[email protected] None +2 1.83 MB types
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +9 3.14 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem +7 1.08 MB jameshenry
npm/[email protected] None +1 44.7 kB dougwilson
npm/[email protected] None 0 1.11 MB marijn
npm/[email protected] eval +2 1.47 MB esp
npm/[email protected] None 0 9.44 kB paulmillr
npm/[email protected] None +1 35.5 kB ljharb
npm/[email protected] None 0 9.18 kB feross
npm/[email protected] network Transitive: environment, eval, filesystem +3 149 kB dougwilson
npm/[email protected] None +1 6.24 MB xhmikosr
npm/[email protected] None 0 7.95 kB cwmma
npm/[email protected] Transitive: filesystem, network +12 13.3 MB webmaster128
npm/[email protected] environment 0 81.5 kB qix
npm/[email protected] eval 0 516 kB medikoo
npm/[email protected] None +1 65.8 kB lydell
npm/[email protected] Transitive: environment +5 446 kB iansu
npm/[email protected] filesystem, unsafe Transitive: environment +14 1.7 MB ljharb
npm/[email protected] None +16 3.64 MB ljharb
npm/[email protected] None +1 60.4 kB bpscott
npm/[email protected] filesystem Transitive: environment +16 1.36 MB ljharb
npm/[email protected] None 0 59.3 kB lydell
npm/[email protected] filesystem, unsafe Transitive: environment, eval, shell +47 6.23 MB eslintbot
npm/[email protected] None 0 33.7 kB samthor
npm/[email protected] environment +2 28.6 kB dougwilson
npm/[email protected] environment, filesystem, network Transitive: eval, shell, unsafe +142 20.4 MB google-wombot
npm/[email protected] network 0 24.4 kB rubenverborgh
npm/[email protected] filesystem, shell +15 354 kB tschaub
npm/[email protected] None 0 7.63 kB phated
npm/[email protected] filesystem Transitive: environment +7 133 kB isaacs
npm/[email protected] environment, filesystem, shell Transitive: network +10 736 kB google-wombot
npm/[email protected] environment, filesystem 0 27.6 kB isaacs
npm/[email protected] Transitive: environment, eval +2 51.5 kB dougwilson
npm/[email protected] network 0 26.2 kB tootallnate
npm/[email protected] None 0 4.83 kB sindresorhus
npm/[email protected] None 0 1.32 MB timmywil
npm/[email protected] None 0 1.4 MB jdalton
npm/[email protected] filesystem 0 10 kB sindresorhus
npm/[email protected] None 0 16.3 kB dougwilson
npm/[email protected] filesystem 0 7.56 kB isaacs
npm/[email protected] eval Transitive: environment +1 60.2 kB dougwilson
npm/[email protected] network 0 158 kB akepinski
npm/[email protected] None 0 12.3 kB dougwilson
npm/[email protected] None 0 50.1 kB gkz
npm/[email protected] None 0 92.5 kB jonschlinkert
npm/[email protected] None 0 4.75 kB sindresorhus
npm/[email protected] environment, eval, filesystem, unsafe 0 19.3 MB sosukesuzuki
npm/[email protected] None 0 15.5 kB turbopope
npm/[email protected] environment 0 94.5 kB ljharb
npm/[email protected] filesystem, network +10 3.54 MB google-wombot
npm/[email protected] None 0 143 kB ljharb
npm/[email protected] network +1 33.7 kB dougwilson
npm/[email protected] environment 0 3 MB threepointone
npm/[email protected] None 0 349 kB andrewredican
npm/[email protected] eval 0 140 kB mac-s-g
npm/[email protected] environment 0 625 kB mjackson
npm/[email protected] environment +1 671 kB mjackson
npm/[email protected] Transitive: environment, eval, filesystem +7 366 kB iansu
npm/[email protected] environment 0 204 kB threepointone
npm/[email protected] environment 0 122 kB matteo.collina
npm/[email protected] environment, filesystem, network 0 209 kB mikeal
npm/[email protected] None 0 9.79 kB dcousens
npm/[email protected] None 0 5.13 MB blesh
npm/[email protected] None +1 102 kB isaacs
npm/[email protected] None 0 31.1 kB dcousens
npm/[email protected] None 0 3.79 kB sindresorhus
npm/[email protected] None +1 9.31 kB sindresorhus
npm/[email protected] filesystem 0 26 kB raszi
npm/[email protected] None 0 9.21 kB indexzero
npm/[email protected] None 0 54.1 MB typescript-bot
npm/[email protected] environment, shell Transitive: filesystem +7 68.5 kB sindresorhus
npm/[email protected] None 0 34.3 kB ctavan
npm/[email protected] environment Transitive: filesystem +1 20.4 kB isaacs
npm/[email protected] network 0 119 kB lpinca

🚮 Removed packages: npm/@babel/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Protestware/Troll package npm/[email protected]
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node scripts/postinstall
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node scripts/postinstall

View full report↗︎

Next steps

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants