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 ethers from 5.7.2 to 6.0.0 #590

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

Conversation

tirumerla
Copy link
Contributor

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

  • examples/ethers-signer/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
high severity Denial of Service (DoS)
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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Denial of Service (DoS)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@aws-crypto/crc32@3.0.0 None 0 32.6 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/ie11-detection@3.0.0 None 0 28.6 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/sha256-browser@3.0.0 None +2 83.6 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/sha256-js@3.0.0 None 0 87.4 kB aws-crypto-tools-ci-bot
npm/@aws-crypto/util@3.0.0 None 0 24.3 kB aws-crypto-tools-ci-bot
npm/@aws-sdk/client-lambda@3.582.0 Transitive: environment, filesystem, network, shell +66 4.96 MB aws-sdk-bot
npm/@aws-sdk/types@3.577.0 None +1 132 kB aws-sdk-bot
npm/@ethereumjs/common@2.6.5 None +2 2.88 MB holgerd77
npm/@ethereumjs/rlp@4.0.1 None 0 51.6 kB holgerd77
npm/@ethereumjs/tx@3.5.2 None +1 741 kB holgerd77
npm/@ethereumjs/util@8.1.0 None +4 832 kB holgerd77
npm/@ethersproject/basex@5.7.0 None 0 30.1 kB ricmoo
npm/@ethersproject/contracts@5.7.0 None 0 250 kB ricmoo
npm/@ethersproject/hdnode@5.7.0 None 0 80.7 kB ricmoo
npm/@ethersproject/json-wallets@5.7.0 None +1 2.56 MB ricmoo
npm/@ethersproject/pbkdf2@5.7.0 None 0 17.4 kB ricmoo
npm/@ethersproject/providers@5.7.2 network +1 1.21 MB ricmoo
npm/@ethersproject/random@5.7.0 None 0 17.3 kB ricmoo
npm/@ethersproject/sha2@5.7.0 None 0 21.7 kB ricmoo
npm/@ethersproject/solidity@5.7.0 None 0 23.2 kB ricmoo
npm/@ethersproject/units@5.7.0 None 0 20.2 kB ricmoo
npm/@ethersproject/wallet@5.7.0 None 0 55.2 kB ricmoo
npm/@ethersproject/wordlists@5.7.0 None 0 390 kB ricmoo
npm/@noble/curves@1.3.0 None 0 1.39 MB paulmillr
npm/@noble/hashes@1.3.3 None 0 761 kB paulmillr
npm/@openzeppelin/defender-admin-client@1.50.0 environment 0 106 kB collins-oz
npm/@openzeppelin/defender-admin-client@1.54.2 environment +1 162 kB tirumerla
npm/@openzeppelin/defender-autotask-client@1.54.2 environment, filesystem +1 99.6 kB tirumerla
npm/@openzeppelin/defender-base-client@1.49.0 None 0 86.3 kB collins-oz
npm/@openzeppelin/defender-base-client@1.50.0 None 0 86.4 kB collins-oz
npm/@openzeppelin/defender-sentinel-client@1.54.2 environment 0 107 kB tirumerla
npm/@openzeppelin/platform-deploy-client@0.7.0 environment 0 151 kB namis
npm/@sindresorhus/is@4.6.0 None 0 57.5 kB sindresorhus
npm/@smithy/types@3.0.0 None 0 235 kB smithy-team
npm/@szmarczak/http-timer@4.0.6 None 0 10.8 kB szmarczak
npm/@types/async-retry@1.4.8 None +1 13.5 kB types
npm/@types/bn.js@5.1.5 None 0 13.8 kB types
npm/@types/cacheable-request@6.0.3 None +3 29.3 kB types
npm/@types/fs-extra@9.0.13 None 0 27.9 kB types
npm/abortcontroller-polyfill@1.7.5 network 0 94.6 kB molsson
npm/accepts@1.3.8 None 0 16.8 kB dougwilson
npm/amazon-cognito-identity-js@6.3.12 network 0 1.39 MB aws-amplify-ops
npm/array-flatten@1.1.1 None 0 4.42 kB blakeembrey
npm/asn1@0.2.6 None 0 19.8 kB bahamat
npm/assert-plus@1.0.0 environment 0 11.4 kB pfmooney
npm/async-limiter@1.0.1 None 0 6.9 kB strml
npm/available-typed-arrays@1.0.7 None 0 20.4 kB ljharb
npm/aws-sdk@2.1626.0 environment, filesystem, network, shell +3 95.8 MB aws-sdk-bot
npm/aws-sign2@0.7.0 None 0 14.2 kB mikeal
npm/aws4@1.13.0 environment 0 23.4 kB hichaelmart
npm/base-x@3.0.9 None 0 9.35 kB junderw
npm/bcrypt-pbkdf@1.0.2 None 0 29 kB arekinath
npm/bignumber.js@9.1.2 None 0 351 kB mikemcl
npm/bl@4.1.0 None 0 64.4 kB matteo.collina
npm/bluebird@3.7.2 environment, eval, unsafe 0 632 kB esailija
npm/body-parser@1.20.2 network Transitive: environment, eval, filesystem +6 186 kB dougwilson
npm/buffer-to-arraybuffer@0.0.5 None 0 6.24 kB miguelmota
npm/buffer@5.7.1 None 0 82.5 kB feross
npm/bufferutil@4.0.8 None 0 414 kB lpinca
npm/cacheable-lookup@5.0.4 network 0 23.9 kB szmarczak
npm/cacheable-request@7.0.4 network +2 33.7 kB jaredwray
npm/call-bind@1.0.7 None +3 77.7 kB ljharb
npm/caseless@0.12.0 None 0 14.3 kB mikeal
npm/cids@0.7.5 None +1 2.17 MB vmx
npm/cipher-base@1.0.4 None 0 7.95 kB cwmma
npm/content-disposition@0.5.4 None 0 19.1 kB dougwilson
npm/content-hash@2.5.2 None +1 602 kB pldespaigne
npm/content-type@1.0.5 None 0 10.5 kB dougwilson
npm/cookie-signature@1.0.6 None 0 3.94 kB natevw
npm/cookie@0.6.0 None 0 23.7 kB dougwilson
npm/core-util-is@1.0.3 None 0 4.98 kB isaacs
npm/cors@2.8.5 None 0 20 kB dougwilson
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-fetch@4.0.0 network +2 444 kB lquixada
npm/d@1.0.2 None 0 14.2 kB medikoo
npm/dashdash@1.14.1 environment, filesystem 0 80.6 kB trentm
npm/decode-uri-component@0.2.2 None 0 6.09 kB samverschueren
npm/decompress-response@3.3.0 None 0 3.54 kB sindresorhus
npm/defer-to-connect@2.0.1 None 0 5.44 kB szmarczak
npm/dom-walk@0.1.2 None 0 2.66 kB raynos
npm/ecc-jsbn@0.1.2 None +1 73.6 kB aduh95
npm/elliptic@6.5.5 None 0 119 kB indutny
npm/encodeurl@1.0.2 None 0 7.86 kB dougwilson
npm/end-of-stream@1.4.4 None 0 6.23 kB mafintosh
npm/es5-ext@0.10.64 eval +3 492 kB medikoo
npm/es6-promise@4.2.8 None 0 315 kB stefanpenner
npm/es6-symbol@3.1.4 None +1 39.6 kB medikoo
npm/escape-html@1.0.3 None 0 3.66 kB dougwilson
npm/etag@1.8.1 filesystem 0 10.8 kB dougwilson
npm/eth-ens-namehash@2.0.8 None +3 567 kB danfinlay
npm/eth-lib@0.2.8 None 0 82.8 kB maiavictor
npm/ethereum-bloom-filters@1.1.0 None +1 792 kB joshstevens19
npm/ethereum-cryptography@0.1.3 None +8 1.06 MB alcuadrado
npm/ethers@5.7.2 None 0 10.7 MB ricmoo
npm/ethers@6.13.0 network +7 19.7 MB ricmoo
npm/ethjs-unit@0.1.6 None +1 634 kB silentcicero
npm/eventemitter3@4.0.7 None 0 38 kB lpinca
npm/express@4.19.2 environment, filesystem, network Transitive: eval +4 289 kB wesleytodd
npm/extend@3.0.2 None 0 23.5 kB ljharb
npm/extsprintf@1.3.0 None 0 22.8 kB dap
npm/follow-redirects@1.15.6 network 0 29.4 kB rubenverborgh
npm/forever-agent@0.6.1 network 0 14 kB simov
npm/form-data-encoder@1.7.1 None 0 47 kB octetstream
npm/get-intrinsic@1.2.4 eval +5 127 kB ljharb
npm/getpass@0.1.7 filesystem 0 5.67 kB arekinath
npm/got@12.1.0 Transitive: network +6 301 kB sindresorhus
npm/har-schema@2.0.0 None 0 15.1 kB ahmadnassri
npm/har-validator@5.1.5 None 0 8.22 kB ahmadnassri
npm/has-tostringtag@1.0.2 None +1 38.2 kB ljharb
npm/http-https@1.0.0 network 0 2.36 kB isaacs
npm/http-signature@1.2.0 network 0 48.4 kB arekinath
npm/http2-wrapper@2.2.1 network +1 84.5 kB szmarczak
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/is-typedarray@1.0.0 None 0 4.41 kB hughsk
npm/isstream@0.1.2 None 0 13.3 kB rvagg
npm/jest-mock-extended@1.0.18 Transitive: environment, eval, filesystem, network, shell, unsafe +105 5.12 MB marchaos

🚮 Removed packages: npm/@aws-sdk/types@3.465.0, npm/@openzeppelin/defender-base-client@1.54.0-rc.0, npm/@openzeppelin/defender-relay-client@1.54.0-rc.0, npm/@smithy/types@2.7.0, npm/amazon-cognito-identity-js@6.3.7, npm/axios@1.6.2, npm/follow-redirects@1.15.1, npm/jest-util@29.7.0, npm/js-yaml@4.1.0, npm/json-stringify-safe@5.0.1, npm/json5@2.2.3, npm/jsonfile@6.1.0, npm/jsonparse@1.3.1, npm/keyv@4.5.4, npm/kind-of@6.0.3, npm/lerna@7.4.2, npm/make-dir@4.0.0, npm/merge2@1.4.1, npm/minimatch@3.1.2, npm/minimist@1.2.8, npm/minipass@4.2.8, npm/minizlib@2.1.2, npm/mkdirp@1.0.4, npm/ms@2.1.2, npm/negotiator@0.6.3, npm/node-fetch@2.6.7, npm/normalize-package-data@3.0.3, npm/npm-registry-fetch@14.0.5, npm/npmlog@6.0.2, npm/nx-cloud@19.0.0, npm/nx@16.10.0, npm/once@1.4.0, npm/onetime@5.1.2, npm/p-limit@3.1.0, npm/p-map@4.0.0, npm/p-reduce@2.1.0, npm/parse-json@5.2.0, npm/path-key@3.1.1, npm/path-scurry@1.11.1, npm/picocolors@1.0.1, npm/picomatch@2.3.1, npm/prettier@2.8.8, npm/pretty-format@29.7.0, npm/protocols@2.0.1, npm/read-package-json@6.0.4, npm/readable-stream@3.6.2, npm/resolve@1.22.8, npm/safer-buffer@2.1.2, npm/signal-exit@3.0.7, npm/sigstore@1.9.0, npm/slash@3.0.0, npm/source-map@0.6.1, npm/ssri@9.0.1, npm/string-width@4.2.3, npm/strip-ansi@6.0.1, npm/strong-log-transformer@2.1.0, npm/tar@6.1.11, npm/through@2.3.8, npm/ts-jest@29.1.3, npm/type-check@0.4.0, npm/typescript@4.9.5, npm/uuid@9.0.1, npm/validate-npm-package-license@3.0.4, npm/validate-npm-package-name@5.0.0, npm/wcwidth@1.0.1, npm/which@2.0.2, npm/yallist@4.0.0, npm/yargs-parser@20.2.4, npm/yargs@17.7.2

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
CVE npm/ws@8.5.0 🚫
Protestware/Troll package npm/es5-ext@0.10.64
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
🚫
Install scripts npm/es5-ext@0.10.64
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0
🚫
Install scripts npm/aws-sdk@2.1626.0
  • Install script: postinstall
  • Source: node scripts/warn-maintenance-mode.js
🚫

View full report↗︎

Next steps

What is a CVE?

Contains a high severity Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

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

  • @SocketSecurity ignore npm/ws@8.5.0
  • @SocketSecurity ignore npm/es5-ext@0.10.64
  • @SocketSecurity ignore npm/aws-sdk@2.1626.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.

None yet

2 participants