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-native from 0.57.3 to 0.69.12 #137

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

Conversation

titanism
Copy link
Contributor

@titanism titanism commented Jul 3, 2024

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 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.

⚠️ Warning ``` Failed to update the yarn.lock, please update manually before merging. ```

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ASYNC-7414156
  631  

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

Copy link

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/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 +12 151 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 +3 41.2 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/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 +8 137 kB zpao
npm/figures@2.0.0 None 0 8.89 kB sindresorhus
npm/find-up@2.1.0 Transitive: filesystem +3 17.1 kB sindresorhus
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 +221 42 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 +140 15.8 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/memory-fs@0.4.1 None 0 13.4 kB sokra
npm/metro-core@0.48.1 Transitive: environment, filesystem, network, shell +16 531 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 +73 3.31 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/minimalistic-assert@1.0.1 None 0 1.55 kB cwmma
npm/minimalistic-crypto-utils@1.0.1 None 0 4.76 kB indutny
npm/minimatch@3.0.4 None 0 33.1 kB isaacs
npm/minimist@1.2.0 None 0 30.4 kB substack
npm/mkdirp@0.5.1 filesystem 0 21.2 kB substack
npm/morgan@1.9.1 eval Transitive: environment +3 77.7 kB dougwilson
npm/node-fetch@2.2.0 network 0 138 kB timothygu
npm/once@1.4.0 None +1 7.01 kB isaacs
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/path-is-absolute@1.0.1 None 0 3.62 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-loading-spinner-overlay@0.5.2 None 0 11.6 kB niftylettuce
npm/react-native@0.69.12 environment, network Transitive: eval +10 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/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 +9 208 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/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 +14 1.78 MB evilebottnawi
npm/unpipe@1.0.0 None 0 4.31 kB dougwilson
npm/util-deprecate@1.0.2 None 0 5.48 kB tootallnate
npm/whatwg-encoding@1.0.5 None 0 12.3 kB domenic
npm/which@1.3.1 environment Transitive: filesystem +1 20.4 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.3, npm/eslint@8.57.0, npm/fixpack@4.0.0, npm/husky@8.0.3, npm/lint-staged@13.3.0

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 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

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