ladjs / react-native-loading-spinner-overlay

:barber: React Native loading spinner overlay
MIT License
1.59k stars 173 forks source link

[Snyk] Security upgrade react-native from 0.57.3 to 0.69.12 #133

Open titanism opened 7 months ago

titanism commented 7 months ago

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: - example/package.json - example/yarn.lock #### Note for [zero-installs](https://yarnpkg.com/features/zero-installs) users If you are using the Yarn feature [zero-installs](https://yarnpkg.com/features/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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **718/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 6.5 | Uncontrolled Resource Consumption ('Resource Exhaustion')
[SNYK-JS-TAR-6476909](https://snyk.io/vuln/SNYK-JS-TAR-6476909) | No | 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](https://app.snyk.io/org/titanism/project/9a157dee-4d9f-4f60-b8d7-c37aa2286d1a?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/titanism/project/9a157dee-4d9f-4f60-b8d7-c37aa2286d1a?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"dbd1bdbf-ec65-4d0a-a100-99986ac3f0da","prPublicId":"dbd1bdbf-ec65-4d0a-a100-99986ac3f0da","dependencies":[{"name":"react-native","from":"0.57.3","to":"0.69.12"}],"packageManager":"yarn","projectPublicId":"9a157dee-4d9f-4f60-b8d7-c37aa2286d1a","projectUrl":"https://app.snyk.io/org/titanism/project/9a157dee-4d9f-4f60-b8d7-c37aa2286d1a?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-TAR-6476909"],"upgrade":["SNYK-JS-TAR-6476909"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[718],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Uncontrolled Resource Consumption ('Resource Exhaustion')](https://learn.snyk.io/lesson/redos/?loc=fix-pr)
socket-security[bot] commented 7 months ago

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

Package New capabilities Transitives Size Publisher
npm/@babel/helper-plugin-utils@7.0.0 None 0 6.57 kB hzoo
npm/@babel/helper-remap-async-to-generator@7.1.0 None +2 13.4 kB hzoo
npm/@babel/plugin-proposal-async-generator-functions@7.1.0 None +1 10.4 kB hzoo
npm/@babel/plugin-transform-async-to-generator@7.1.0 None 0 4.15 kB hzoo
npm/@babel/plugin-transform-classes@7.1.0 None +6 87.3 kB hzoo
npm/@babel/plugin-transform-exponentiation-operator@7.1.0 None +2 11.8 kB hzoo
npm/@babel/plugin-transform-function-name@7.1.0 None 0 3.45 kB hzoo
npm/@babel/plugin-transform-modules-commonjs@7.1.0 None 0 8.7 kB hzoo
npm/@babel/plugin-transform-object-super@7.1.0 None +3 19.6 kB hzoo
npm/@babel/plugin-transform-parameters@7.1.0 None +2 22.6 kB hzoo
npm/abbrev@1.1.1 None 0 4.78 kB isaacs
npm/accepts@1.3.5 None 0 16.6 kB dougwilson
npm/acorn@5.7.3 None 0 564 kB marijn
npm/aproba@1.2.0 None 0 8.18 kB iarna
npm/arr-flatten@1.1.0 None 0 6.88 kB jonschlinkert
npm/assert-plus@1.0.0 environment 0 11.4 kB pfmooney
npm/async@2.6.1 None 0 541 kB aearly
npm/babel-generator@6.26.1 None +3 123 kB hzoo
npm/babel-jest@23.6.0 filesystem Transitive: environment +5 39.2 kB mjesun
npm/babel-preset-fbjs@3.4.0 environment +27 212 kB gweterings
npm/babel-runtime@6.26.0 None 0 46.8 kB hzoo
npm/babel-template@6.26.0 None +1 288 kB hzoo
npm/babel-traverse@6.26.0 environment +10 522 kB hzoo
npm/babel-types@6.26.0 None +1 143 kB hzoo
npm/base64-js@1.3.0 None 0 13 kB feross
npm/bn.js@4.11.8 None 0 99.4 kB indutny
npm/browserify-aes@1.2.0 None +1 34.6 kB cwmma
npm/caniuse-lite@1.0.30000890 None 0 1.23 MB ai
npm/cipher-base@1.0.4 None 0 7.95 kB cwmma
npm/cli-cursor@2.1.0 None 0 3.15 kB sindresorhus
npm/cli-spinners@1.3.1 None 0 14.2 kB sindresorhus
npm/commander@2.20.3 filesystem, shell 0 62.4 kB abetomo
npm/concat-stream@1.6.2 None +1 14.5 kB mafintosh
npm/console-control-strings@1.1.0 None 0 12.7 kB iarna
npm/core-js@2.5.7 eval 0 2.18 MB zloirock
npm/core-util-is@1.0.2 None 0 23.2 kB isaacs
npm/create-hash@1.2.0 None 0 5.21 kB cwmma
npm/create-hmac@1.1.7 None 0 5.81 kB cwmma
npm/cross-spawn@5.1.0 environment, filesystem, shell 0 16.7 kB satazor
npm/cssom@0.3.4 None 0 58.2 kB nv
npm/detect-libc@1.0.3 environment, filesystem, shell 0 17.2 kB lovell
npm/duplexify@3.6.1 None 0 17.1 kB mafintosh
npm/electron-to-chromium@1.3.79 None 0 20.1 kB kilianvalkhof
npm/end-of-stream@1.4.1 None 0 5.87 kB mafintosh
npm/errno@0.1.7 None 0 18 kB ralphtheninja
npm/estraverse@4.2.0 None 0 33 kB nzakas
npm/esutils@2.0.2 None 0 49.3 kB michaelficarra
npm/evp_bytestokey@1.0.3 None 0 5.13 kB dcousens
npm/extsprintf@1.3.0 None 0 22.8 kB dap
npm/figures@2.0.0 None 0 8.89 kB sindresorhus
npm/flow-parser@0.121.0 None 0 2.86 MB flowtype
npm/for-in@1.0.2 None 0 6.28 kB jonschlinkert
npm/fs-minipass@1.2.5 filesystem 0 13 kB iarna
npm/gauge@1.2.7 Transitive: environment +2 60.8 kB iarna
npm/get-value@2.0.6 None 0 3.71 kB jonschlinkert
npm/glob@7.1.3 filesystem Transitive: environment +2 72.7 kB isaacs
npm/graceful-fs@4.1.11 environment, filesystem 0 24.9 kB isaacs
npm/hash.js@1.1.5 None 0 40.2 kB indutny
npm/haul@1.0.0-rc.8 environment, filesystem, network Transitive: eval, shell +136 25.7 MB thymikee
npm/hoist-non-react-statics@2.5.5 None 0 13.1 kB mridgway
npm/http-errors@1.6.3 Transitive: environment, eval +1 46.3 kB dougwilson
npm/iconv-lite@0.4.23 None 0 336 kB ashtuchkin
npm/ignore-walk@3.0.1 filesystem 0 10.8 kB isaacs
npm/inherits@2.0.3 None 0 3.82 kB isaacs
npm/ini@1.3.5 None 0 8.93 kB isaacs
npm/is-callable@1.1.4 None 0 30.6 kB ljharb
npm/is-descriptor@1.0.2 None +2 27.2 kB jonschlinkert
npm/is-extglob@1.0.0 None 0 4.17 kB jonschlinkert
npm/is-glob@2.0.1 None 0 5.92 kB jonschlinkert
npm/is-stream@1.1.0 None 0 3.23 kB sindresorhus
npm/istanbul-lib-coverage@1.2.1 None 0 21.8 kB coreyfarrell
npm/istanbul-lib-instrument@1.10.2 None +1 338 kB coreyfarrell
npm/istanbul-lib-source-maps@1.2.6 filesystem Transitive: environment +1 103 kB coreyfarrell
npm/jest@23.6.0 None +1 5.73 kB mjesun

🚮 Removed packages: npm/@commitlint/cli@17.8.1, npm/@commitlint/config-conventional@17.8.1, npm/@types/jest@28.1.8, npm/@types/react-native@0.69.26, npm/@typescript-eslint/parser@5.62.0, npm/eslint-config-xo-lass@2.0.1, npm/eslint-plugin-react-native@4.1.0, npm/eslint-plugin-react@7.34.1, npm/eslint@8.57.0, npm/fixpack@4.0.0, npm/husky@8.0.3, npm/lint-staged@13.3.0, npm/react-native-loading-spinner-overlay@3.0.1

View full report↗︎

socket-security[bot] commented 7 months ago

🚨 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
Known Malware npm/fsevents@1.2.4
  • Note: This package downloads prebuilt artifacts from a domain which has been compromised. Your system may be infected if you installed this package prior to April 27, 2023
  • orphan: npm/fsevents@1.2.4
Install scripts npm/fsevents@1.2.4
  • Install script: install
  • Source: node install
  • orphan: npm/fsevents@1.2.4

View full report↗︎

Next steps

What is known malware?

This package is malware. We have asked the package registry to remove it.

It is strongly recommended that malware is removed from your codebase.

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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/fsevents@1.2.4