ladjs / react-native-loading-spinner-overlay

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

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

Open titanism opened 3 months ago

titanism commented 3 months ago

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project. #### Snyk changed the following file(s): - `example/package.json` #### 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.
⚠️ Warning ``` Failed to update the yarn.lock, please update manually before merging. ```
#### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Denial of Service (DoS)
[SNYK-JS-WS-7266574](https://snyk.io/vuln/SNYK-JS-WS-7266574) |   **768**   --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - Max score is 1000. Note that the real score may have changed since the PR was raised. > - This PR was automatically created by Snyk using the credentials of a real user. --- **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) 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) 🛠 [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 about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Denial of Service (DoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"react-native","from":"0.57.3","to":"0.69.12"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-JS-WS-7266574","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Denial of Service (DoS)"}],"prId":"af62c13c-5491-4d3d-9af2-cf39656b0ab4","prPublicId":"af62c13c-5491-4d3d-9af2-cf39656b0ab4","packageManager":"yarn","priorityScoreList":[768],"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","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":["SNYK-JS-WS-7266574"],"vulns":["SNYK-JS-WS-7266574"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
socket-security[bot] commented 3 months ago

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

Package New capabilities Transitives Size Publisher
npm/@babel/plugin-transform-async-to-generator@7.1.0 None +4 24.1 kB hzoo
npm/@babel/plugin-transform-classes@7.1.0 None +7 93.9 kB hzoo
npm/@babel/plugin-transform-exponentiation-operator@7.1.0 None +3 18.4 kB hzoo
npm/@babel/plugin-transform-function-name@7.1.0 None +1 10 kB hzoo
npm/@babel/plugin-transform-modules-commonjs@7.1.0 None +1 15.3 kB hzoo
npm/@babel/plugin-transform-object-super@7.1.0 None +4 26.2 kB hzoo
npm/@babel/plugin-transform-parameters@7.1.0 None +3 29.2 kB hzoo
npm/accepts@1.3.5 None +1 44.6 kB dougwilson
npm/acorn@5.7.3 None 0 564 kB marijn
npm/ansi-wrap@0.1.0 None 0 4.92 kB jonschlinkert
npm/ansi@0.3.1 None 0 18 kB tootallnate
npm/arr-flatten@1.1.0 None 0 6.88 kB jonschlinkert
npm/async@2.6.1 None 0 541 kB aearly
npm/babel-generator@6.26.1 None +5 129 kB hzoo
npm/babel-jest@23.6.0 filesystem Transitive: environment +26 271 kB mjesun
npm/babel-plugin-syntax-object-rest-spread@6.13.0 None 0 1.14 kB hzoo
npm/babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0 None 0 3.03 kB hzoo
npm/babel-preset-fbjs@3.4.0 environment +27 216 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 +7 492 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/cli-cursor@2.1.0 None +1 5.6 kB sindresorhus
npm/cli-spinners@1.3.1 None 0 14.2 kB sindresorhus
npm/concat-stream@1.6.2 None +2 40.5 kB mafintosh
npm/core-js@2.5.7 eval 0 2.18 MB zloirock
npm/cross-spawn@5.1.0 environment, filesystem, shell +1 19.4 kB satazor
npm/cssom@0.3.4 None 0 58.2 kB nv
npm/errno@0.1.7 None +1 28.2 kB ralphtheninja
npm/estraverse@4.2.0 None 0 33 kB nzakas
npm/esutils@2.0.2 None 0 49.3 kB michaelficarra
npm/fbjs-scripts@1.2.0 None +14 168 kB zpao
npm/figures@2.0.0 None 0 8.89 kB sindresorhus
npm/find-up@2.1.0 Transitive: filesystem +5 23.9 kB sindresorhus
npm/for-in@1.0.2 None 0 6.28 kB jonschlinkert
npm/gauge@1.2.7 Transitive: environment +4 95.4 kB iarna
npm/glob@7.1.3 filesystem Transitive: environment +3 75.6 kB isaacs
npm/graceful-fs@4.1.11 environment, filesystem 0 24.9 kB isaacs
npm/haul@1.0.0-rc.8 environment, filesystem, network Transitive: eval, shell, unsafe +265 44.1 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 +2 48.6 kB dougwilson
npm/iconv-lite@0.4.23 None 0 336 kB ashtuchkin
npm/inherits@2.0.3 None 0 3.82 kB isaacs
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-docblock@23.2.0 None +1 10.1 kB mjesun
npm/jest-serializer@23.0.1 filesystem, unsafe 0 6.35 kB mjesun
npm/jest-worker@23.2.0 environment, shell +1 27.2 kB mjesun
npm/jest@23.6.0 Transitive: environment, eval, filesystem, network, shell, unsafe +170 16.1 MB mjesun
npm/js-yaml@3.12.0 eval Transitive: environment, filesystem +3 745 kB vitaly
npm/loader-utils@1.1.0 None +2 111 kB jhnns
npm/lodash@4.17.11 None 0 1.4 MB jdalton
npm/lru-cache@4.1.3 Transitive: environment +2 39.4 kB isaacs
npm/memory-fs@0.4.1 None 0 13.4 kB sokra
npm/metro-core@0.48.1 Transitive: environment, filesystem, network, shell +29 478 kB rafeca
npm/metro-react-native-babel-preset@0.48.1 environment +45 424 kB rafeca
npm/metro@0.48.1 filesystem, network Transitive: environment, eval, shell +98 3.36 MB rafeca
npm/mime-db@1.36.0 None 0 184 kB dougwilson
npm/mime-types@2.1.20 None 0 14.9 kB dougwilson
npm/minimatch@3.0.4 None +3 55.7 kB isaacs
npm/minimist@1.2.0 None 0 30.4 kB substack
npm/mkdirp@0.5.1 filesystem +1 42.5 kB substack
npm/morgan@1.9.1 eval Transitive: environment +5 92.9 kB dougwilson
npm/node-fetch@2.2.0 network 0 138 kB timothygu
npm/normalize-path@2.1.1 None +1 12.7 kB jonschlinkert
npm/os-homedir@1.0.2 environment 0 3.15 kB sindresorhus
npm/os-tmpdir@1.0.2 None 0 3.06 kB sindresorhus
npm/private@0.1.8 None 0 13.4 kB benjamn
npm/prop-types@15.6.2 environment 0 76.3 kB gaearon
npm/qs@6.5.2 None 0 114 kB ljharb
npm/react-devtools-core@3.6.3 Transitive: network +2 830 kB brianvaughn
npm/react-hot-loader@4.3.11 environment, eval +1 128 kB kashey
npm/react-native@0.69.12 environment, network Transitive: eval +11 123 MB react-native-bot
npm/react-test-renderer@16.6.0-alpha.8af6728 environment +1 1.03 MB gaearon
npm/react@16.6.0-alpha.8af6728 environment +1 245 kB gaearon
npm/readable-stream@2.3.6 environment 0 88 kB matteo.collina
npm/regenerator-runtime@0.11.1 eval 0 26.7 kB benjamn
npm/regexpu-core@4.2.0 None 0 37 kB mathias
npm/repeat-string@1.6.1 None 0 9.09 kB jonschlinkert
npm/resolve@1.8.1 filesystem +1 87.6 kB ljharb
npm/rimraf@2.6.2 filesystem 0 15.1 kB isaacs
npm/rx-lite@4.0.8 None 0 459 kB mattpodwysocki
npm/safe-buffer@5.1.2 None 0 31.7 kB feross
npm/safer-buffer@2.1.2 None 0 42.3 kB chalker
npm/schema-utils@0.4.7 filesystem 0 10.7 kB michael-ciniawsky
npm/serve-static@1.13.2 Transitive: environment, eval, filesystem, network +10 214 kB dougwilson
npm/set-blocking@2.0.0 None 0 4.22 kB bcoe
npm/setimmediate@1.0.5 None 0 8.56 kB domenic
npm/shell-quote@1.6.1 None +1 36.6 kB substack
npm/signal-exit@3.0.2 None 0 9.43 kB isaacs
npm/source-map-support@0.5.9 filesystem, unsafe +1 87.2 kB linusu
npm/statuses@1.4.0 None 0 10.9 kB dougwilson
npm/string-width@1.0.2 None +1 8.15 kB sindresorhus
npm/strip-ansi@3.0.1 None +1 7.3 kB jbnicolai
npm/throat@4.1.0 None 0 7.91 kB forbeslindesay
npm/tough-cookie@2.4.3 network 0 84 kB jstash
npm/uglify-es@3.3.9 eval, filesystem Transitive: shell +1 829 kB alexlamsl
npm/uglifyjs-webpack-plugin@1.3.0 eval Transitive: environment, filesystem, unsafe +28 1.9 MB evilebottnawi
npm/unpipe@1.0.0 None 0 4.31 kB dougwilson
npm/whatwg-encoding@1.0.5 None 0 12.3 kB domenic
npm/which@1.3.1 environment 0 9.42 kB isaacs
npm/wordwrap@1.0.0 None 0 36.8 kB substack
npm/xcode@1.1.0 filesystem, shell 0 154 kB brodybits

🚮 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.2, npm/eslint@8.57.0, npm/fixpack@4.0.0, npm/husky@8.0.3, npm/lint-staged@13.3.0, npm/prettier@2.8.8, npm/react-native-loading-spinner-overlay@3.0.1

View full report↗︎

socket-security[bot] commented 3 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 NoteSourceCI
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
🚫
Potential typo squat npm/schedule@0.3.0 🚫

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.

What is a typosquat?

Package name is similar to other popular packages and may not be the package you want.

Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

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
  • @SocketSecurity ignore npm/schedule@0.3.0