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] Fix for 5 vulnerabilities #1083

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

Conversation

adamlaska
Copy link
Owner

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

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • packages/orderbook/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
Yes Proof of Concept
high severity 828/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 8.7
Improper Verification of Cryptographic Signature
SNYK-JS-ELLIPTIC-8187303
Yes Proof of Concept
medium severity 631/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 6.2
Missing Release of Resource after Effective Lifetime
SNYK-JS-INFLIGHT-6095116
Yes Proof of Concept
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
Yes No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-UNSETVALUE-2400660
Yes No Known Exploit

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

Commit messages
Package name: @0x/utils The new version differs by 115 commits.

See the full diff

Package name: jest The new version differs by 250 commits.
  • 7ca8a22 v27.0.2
  • 1d34bb1 chore: update changelog for release
  • c05521f Add useful APIs to `jest-circus`.
  • 7109b8c fix: call exported config function (#11475)
  • 0927834 fix dependency issues (#11465)
  • 4cae680 Ignore DNSCHANNEL when using --detectOpenHandles (#11470)
  • 8b0a342 chore(deps): bump actions/cache from 2.1.5 to 2.1.6 (#11469)
  • 5f4dd18 chore: remove jest-config dependency from jest-runner (#11466)
  • ae3fc94 Fix jest-worker readme with changes to exports (#11468)
  • 0088802 feat(reporters): re-expose getResultHeader as a util (#11460)
  • b5aa002 fix: loosen engine requirement of jest-worker (#11451)
  • 50216cd chore: roll new version of the docs (#11445)
  • a6368fb chore: roll new version of the docs (#11445)
  • d5aaede docs(blog): fix typo Jest 27 blog post (#11443)
  • fab392e chore: update lockfile after publish
  • 2cb20e9 v27.0.1
  • 7c9441b chore: update changelog for release
  • 4659d45 chore: bump jsdom (#11442)
  • 52c6c53 chore(website): do not ignore changes to netlify config
  • 472760e chore: use specific node version in netlify
  • a832dc3 Revert "Upgrade website to Docusaurus using webpack 5 (#11266)"
  • 3569b33 chore: attempt to use v14 of node to deploy website
  • 6c32bc1 chore: fix changelog headings
  • 244c921 chore: update lockfile after publish

See the full diff

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:

🦉 Uncontrolled resource consumption
🦉 Prototype Pollution

Copy link

google-cla bot commented Oct 18, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@0x/contract-addresses@4.12.0 None 0 74.4 kB dorothy-zbornak
npm/@0x/contracts-asset-proxy@3.7.19 Transitive: environment, network +30 20.6 MB dorothy-zbornak
npm/@0x/contracts-exchange@3.2.38 Transitive: environment, network +31 15.8 MB dorothy-zbornak
npm/@0x/json-schemas@5.4.1 None 0 88.4 kB dorothy-zbornak
npm/@0x/mesh-rpc-client@7.0.4-beta-0xv3 Transitive: environment, eval, network +29 9.75 MB fberger
npm/@0x/migrations@6.6.0 Transitive: environment, eval, network +54 31.6 MB dorothy-zbornak
npm/@0x/orderbook@2.2.7 None +2 3.38 MB xianny
npm/@0x/quote-server@3.1.0 network Transitive: environment, eval, filesystem +27 685 kB pirosb3
npm/@balancer-labs/sor@0.3.2 environment Transitive: network +9 60.1 MB mikeraymcdonald
npm/@bancor/sdk@0.2.10 Transitive: environment, eval, filesystem, network +23 5.79 MB yudilevi
npm/ansi-regex@4.1.0 None 0 5.14 kB sindresorhus
npm/axios-mock-adapter@1.22.0 None +1 81 kB marcbachmann
npm/axios@0.19.2 environment, network +2 420 kB emilyemorehouse
npm/big.js@5.2.2 None 0 63.9 kB mikemcl
npm/braces@2.3.2 None +1 64.5 kB jonschlinkert
npm/camelcase@5.3.1 None 0 7.45 kB sindresorhus
npm/collection-visit@1.0.0 None 0 6.85 kB jonschlinkert
npm/color-convert@1.9.3 None 0 27 kB qix
npm/color-name@1.1.3 None 0 9.36 kB dfcreative
npm/component-emitter@1.3.0 None 0 8 kB nami-doc
npm/copy-descriptor@0.1.1 None 0 4.15 kB jonschlinkert
npm/core-util-is@1.0.2 None 0 23.2 kB isaacs
npm/cream-sor@0.3.3 environment +1 440 kB akroeger
npm/cross-spawn@6.0.5 environment, filesystem, shell 0 21.4 kB satazor
npm/decode-uri-component@0.2.0 None 0 5.71 kB samverschueren
npm/define-property@2.0.2 None 0 10.7 kB doowb
npm/detect-file@1.0.0 filesystem 0 8.63 kB doowb
npm/emoji-regex@7.0.3 None 0 36.3 kB mathias
npm/emojis-list@2.1.0 None 0 42.1 kB kikobeats
npm/end-of-stream@1.4.4 None 0 6.23 kB mafintosh
npm/enhanced-resolve@4.1.0 None 0 87.3 kB sokra
npm/errno@0.1.7 None 0 18 kB ralphtheninja
npm/escape-string-regexp@1.0.5 None 0 2.69 kB jbnicolai
npm/execa@1.0.0 environment, shell 0 19.9 kB sindresorhus
npm/expand-brackets@2.1.4 None 0 26 kB jonschlinkert
npm/expand-tilde@2.0.2 None 0 6.59 kB doowb
npm/extend-shallow@3.0.2 None +1 15.6 kB phated
npm/extglob@2.0.4 None 0 41.1 kB jonschlinkert
npm/fill-range@4.0.0 None 0 16.9 kB jonschlinkert
npm/find-up@3.0.0 None 0 4.84 kB sindresorhus
npm/findup-sync@3.0.0 filesystem 0 6.77 kB phated
npm/for-in@1.0.2 None 0 6.28 kB jonschlinkert
npm/fragment-cache@0.2.1 None 0 9.9 kB jonschlinkert
npm/get-caller-file@2.0.5 None 0 4.72 kB stefanpenner
npm/get-stream@4.1.0 None 0 7.88 kB sindresorhus
npm/get-value@2.0.6 None 0 3.71 kB jonschlinkert
npm/global-modules@2.0.0 environment Transitive: filesystem +1 14.8 kB jonschlinkert
npm/global-prefix@1.0.2 environment, filesystem 0 8.59 kB phated
npm/graceful-fs@4.2.2 environment, filesystem 0 27.5 kB isaacs
npm/has-flag@3.0.0 None 0 3.13 kB sindresorhus
npm/has-value@1.0.0 None 0 7.62 kB jonschlinkert
npm/has-values@1.0.0 None +1 21.4 kB jonschlinkert
npm/homedir-polyfill@1.0.3 environment, filesystem 0 8.05 kB doowb
npm/import-local@2.0.0 None 0 3.6 kB sindresorhus
npm/inherits@2.0.4 None 0 3.96 kB isaacs
npm/ini@1.3.5 None 0 8.93 kB isaacs
npm/interpret@1.2.0 None 0 14.5 kB phated
npm/invert-kv@2.0.0 None 0 2.38 kB sindresorhus
npm/is-extendable@0.1.1 None 0 5.09 kB jonschlinkert
npm/is-extglob@2.1.1 None 0 6.22 kB jonschlinkert
npm/is-fullwidth-code-point@2.0.0 None 0 4.14 kB sindresorhus
npm/is-glob@4.0.1 None 0 11.3 kB phated
npm/is-number@3.0.0 None 0 7.5 kB jonschlinkert
npm/is-plain-object@2.0.4 None 0 7.5 kB jonschlinkert
npm/is-stream@1.1.0 None 0 3.23 kB sindresorhus
npm/is-windows@1.0.2 None 0 7.96 kB jonschlinkert
npm/isarray@1.0.0 None 0 3.89 kB juliangruber
npm/isexe@2.0.0 environment, filesystem 0 11 kB isaacs
npm/isobject@3.0.1 None 0 6.93 kB doowb
npm/json5@1.0.1 None 0 88.3 kB jordanbtucker
npm/kind-of@6.0.2 None 0 22.5 kB jonschlinkert
npm/lcid@2.0.0 None 0 6.37 kB sindresorhus
npm/loader-utils@1.2.3 None 0 26.9 kB evilebottnawi
npm/locate-path@3.0.0 None 0 3.87 kB sindresorhus
npm/map-age-cleaner@0.1.3 None 0 8.41 kB samverschueren
npm/map-cache@0.2.2 None 0 7.6 kB jonschlinkert
npm/map-visit@1.0.0 None 0 8.47 kB jonschlinkert
npm/mem@4.3.0 None 0 9.75 kB sindresorhus
npm/memory-fs@0.4.1 None 0 13.4 kB sokra
npm/micromatch@3.1.10 None 0 84.8 kB jonschlinkert
npm/mimic-fn@2.1.0 None 0 4.46 kB sindresorhus
npm/minimist@1.2.0 None 0 30.4 kB substack
npm/mixin-deep@1.3.2 None 0 7.22 kB doowb
npm/nanomatch@1.2.13 None 0 86.3 kB jonschlinkert
npm/nice-try@1.0.5 None 0 3.75 kB electerious
npm/npm-run-path@2.0.2 environment 0 4.53 kB sindresorhus
npm/object-copy@0.1.0 None 0 5.47 kB jonschlinkert
npm/object-visit@1.0.1 None 0 6.7 kB jonschlinkert
npm/object.pick@1.3.0 None 0 6.36 kB phated
npm/once@1.4.0 None 0 4.05 kB isaacs
npm/os-locale@3.1.0 environment 0 6.18 kB sindresorhus
npm/p-defer@1.0.0 None 0 2.94 kB sindresorhus
npm/p-finally@1.0.0 None 0 3.11 kB sindresorhus
npm/p-is-promise@2.1.0 None 0 3.57 kB sindresorhus
npm/p-limit@2.2.1 None 0 6.69 kB sindresorhus
npm/p-locate@3.0.0 None 0 5.05 kB sindresorhus
npm/p-try@2.2.0 None 0 4.37 kB sindresorhus
npm/parse-passwd@1.0.0 None 0 5.96 kB doowb
npm/pascalcase@0.1.1 None 0 4.46 kB jonschlinkert
npm/path-exists@3.0.0 filesystem 0 3.32 kB sindresorhus
npm/path-key@2.0.1 None 0 3.02 kB sindresorhus
npm/pkg-dir@3.0.0 None 0 3.42 kB sindresorhus
npm/posix-character-classes@0.1.1 None 0 6.97 kB jonschlinkert
npm/process-nextick-args@2.0.1 None 0 3.17 kB cwmma
npm/prr@1.0.1 None 0 10.1 kB rvagg
npm/pump@3.0.0 filesystem 0 7.78 kB mafintosh
npm/readable-stream@2.3.6 environment 0 88 kB matteo.collina
npm/regex-not@1.0.2 None 0 8.46 kB jonschlinkert
npm/repeat-element@1.1.3 None 0 5.32 kB jonschlinkert
npm/repeat-string@1.6.1 None 0 9.09 kB jonschlinkert
npm/require-directory@2.1.1 filesystem 0 12.1 kB troygoode
npm/require-main-filename@2.0.0 None 0 3.93 kB bcoe
npm/resolve-cwd@2.0.0 None 0 3.54 kB sindresorhus
npm/resolve-dir@1.0.1 None +1 12.8 kB phated
npm/resolve-from@3.0.0 unsafe 0 4.39 kB sindresorhus
npm/resolve-url@0.2.1 None 0 8.77 kB lydell
npm/ret@0.1.15 None 0 17.9 kB fent
npm/safe-buffer@5.1.2 None 0 31.7 kB feross
npm/safe-regex@1.1.0 None 0 5.87 kB substack
npm/set-blocking@2.0.0 None 0 4.22 kB bcoe
npm/set-value@2.0.1 None 0 10.3 kB doowb
npm/shebang-command@1.2.0 None 0 2.69 kB kevva
npm/shebang-regex@1.0.0 None 0 2.3 kB sindresorhus
npm/signal-exit@3.0.2 None 0 9.43 kB isaacs
npm/snapdragon-node@2.1.1 None 0 25.8 kB jonschlinkert
npm/snapdragon-util@3.0.1 None 0 50.6 kB jonschlinkert
npm/snapdragon@0.8.2 filesystem 0 35.2 kB jonschlinkert
npm/source-map-resolve@0.5.2 None 0 84.9 kB lydell
npm/source-map-url@0.4.0 None 0 19.4 kB lydell
npm/split-string@3.1.0 None 0 13.8 kB jonschlinkert
npm/static-extend@0.1.2 None 0 4.69 kB jonschlinkert
npm/string_decoder@1.1.1 None 0 15.3 kB matteo.collina
npm/strip-ansi@5.2.0 None 0 4.17 kB sindresorhus
npm/strip-eof@1.0.0 None 0 2.64 kB sindresorhus
npm/supports-color@6.1.0 None 0 7.46 kB sindresorhus
npm/tapable@1.1.3 None 0 40.6 kB sokra
npm/to-object-path@0.3.0 None 0 5.07 kB jonschlinkert
npm/to-regex-range@2.1.1 None 0 20.3 kB jonschlinkert
npm/to-regex@3.0.2 None 0 12.6 kB jonschlinkert
npm/union-value@1.0.1 None 0 6.83 kB doowb
npm/unset-value@1.0.0 None +3 26.3 kB jonschlinkert
npm/urix@0.1.0 None 0 4.37 kB lydell
npm/use@3.1.1 None 0 9.51 kB jonschlinkert
npm/util-deprecate@1.0.2 None 0 5.48 kB tootallnate
npm/v8-compile-cache@2.0.3 environment, filesystem, unsafe 0 15.9 kB zertosh
npm/webpack-cli@3.3.9 environment, filesystem, shell, unsafe 0 223 kB ev1stensberg
npm/which-module@2.0.0 None 0 4.58 kB nexdrew
npm/which@1.3.1 environment 0 9.42 kB isaacs
npm/wrap-ansi@5.1.0 None 0 9.62 kB sindresorhus
npm/wrappy@1.0.2 None 0 2.96 kB zkat
npm/y18n@4.0.0 filesystem 0 10.4 kB nexdrew
npm/yargs-parser@13.1.1 environment 0 56.6 kB bcoe
npm/yargs@13.2.4 environment, filesystem 0 228 kB bcoe

🚮 Removed packages: npm/@0x/abi-gen@5.8.5

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
Critical CVE npm/minimist@1.2.0 ⚠︎
Critical CVE npm/flat@4.1.1 ⚠︎
Critical CVE npm/loader-utils@1.2.3 ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

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

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/minimist@1.2.0
  • @SocketSecurity ignore npm/flat@4.1.1
  • @SocketSecurity ignore npm/loader-utils@1.2.3

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

Successfully merging this pull request may close these issues.

2 participants