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 21 vulnerabilities #623

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

Conversation

adamlaska
Copy link
Owner

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 `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • contracts/exchange-libs/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
Regular Expression Denial of Service (ReDoS)
SNYK-JS-ANSIREGEX-1583908
Yes Proof of Concept
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-ASYNC-2441827
Yes Proof of Concept
critical severity 786/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 9.3
Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962463
Yes Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-JS-BROWSERSLIST-1090194
Yes Proof of Concept
medium severity 484/1000
Why? Has a fix available, CVSS 5.4
Open Redirect
SNYK-JS-GOT-2932019
Yes No Known Exploit
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
medium severity 641/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 6.4
Prototype Pollution
SNYK-JS-JSON5-3182856
Yes Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-JS-LODASH-1018905
Yes Proof of Concept
high severity 681/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.2
Command Injection
SNYK-JS-LODASH-1040724
Yes Proof of Concept
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Information Exposure
SNYK-JS-NODEFETCH-2342118
Yes No Known Exploit
medium severity 520/1000
Why? Has a fix available, CVSS 5.9
Denial of Service
SNYK-JS-NODEFETCH-674311
Yes No Known Exploit
medium severity 646/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 6.5
Server-side Request Forgery (SSRF)
SNYK-JS-REQUEST-3361831
Yes Proof of Concept
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
Yes Proof of Concept
medium severity 646/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 6.5
Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
Yes Proof of Concept
medium severity 646/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 6.5
Prototype Pollution
SNYK-JS-TOUGHCOOKIE-5672873
Yes Proof of Concept
medium severity 596/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.5
Arbitrary Code Injection
SNYK-JS-UNDERSCORE-1080984
Yes Proof of Concept
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-UNSETVALUE-2400660
Yes No Known Exploit
low severity 379/1000
Why? Has a fix available, CVSS 3.3
Insecure Credential Storage
SNYK-JS-WEB3-174533
Yes No Known Exploit
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-WEB3UTILS-6229337
Yes Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-JS-WS-1296835
Yes Proof of Concept
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
Yes Proof of Concept

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

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

See the full diff

Package name: @0x/subproviders The new version differs by 53 commits.

See the full diff

Package name: solhint The new version differs by 250 commits.

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:

🦉 Regular Expression Denial of Service (ReDoS)
🦉 Prototype Pollution
🦉 Open Redirect
🦉 More lessons are available in Snyk Learn

Copy link

google-cla bot commented Apr 21, 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/[email protected] Transitive: eval, network +15 5.81 MB tobernguyen
npm/@0x/[email protected] Transitive: eval, network +19 6.95 MB dorothy-zbornak
npm/@0x/[email protected] None 0 74.4 kB dorothy-zbornak
npm/@0x/[email protected] Transitive: environment, eval, network +19 13.3 MB tobernguyen
npm/@0x/[email protected] Transitive: network +14 16 MB dorothy-zbornak
npm/@0x/[email protected] Transitive: environment, eval, network +17 11.6 MB tobernguyen
npm/@0x/[email protected] Transitive: network +11 4.85 MB dorothy-zbornak
npm/@0x/[email protected] Transitive: network +14 11.2 MB dorothy-zbornak
npm/@0x/[email protected] Transitive: environment, filesystem, network, unsafe +15 15.6 MB tobernguyen
npm/@0x/[email protected] environment Transitive: eval, filesystem, network +53 192 MB tobernguyen
npm/@0x/[email protected] None +1 659 kB tobernguyen
npm/@0x/[email protected] environment, filesystem +9 6.74 MB dorothy-zbornak
npm/@0x/[email protected] None +1 103 kB dorothy-zbornak
npm/@0x/[email protected] None +3 436 kB fberger
npm/@0x/[email protected] Transitive: network +15 9 MB dorothy-zbornak
npm/@0x/[email protected] Transitive: eval, network +9 5.06 MB dorothy-zbornak
npm/@0x/[email protected] None +1 3.29 MB xianny
npm/@0x/[email protected] network 0 112 kB pirosb3
npm/@0x/[email protected] environment, filesystem, network, shell Transitive: eval +7 2.09 MB tobernguyen
npm/@0x/[email protected] None +11 7.22 MB dorothy-zbornak
npm/@0x/[email protected] filesystem 0 13.6 kB fberger
npm/@0x/[email protected] None 0 53.3 kB dekz
npm/@0x/[email protected] None +1 443 kB dekz
npm/@0x/[email protected] None +1 453 kB dekz
npm/@0x/[email protected] network +8 3.99 MB dorothy-zbornak
npm/@0x/[email protected] Transitive: eval, network +8 4.86 MB dorothy-zbornak
npm/@balancer-labs/[email protected] environment Transitive: network +6 3.49 MB mikeraymcdonald
npm/@bancor/[email protected] Transitive: network +1 285 kB yudilevi
npm/@ethersproject/[email protected] None 0 498 kB ricmoo
npm/@ethersproject/[email protected] None 0 33.1 kB ricmoo
npm/@ethersproject/[email protected] None 0 250 kB ricmoo
npm/@ethersproject/[email protected] network 0 1.2 MB ricmoo
npm/@types/[email protected] None 0 99 kB types
npm/[email protected] None 0 5.14 kB sindresorhus
npm/[email protected] None 0 6.88 kB jonschlinkert
npm/[email protected] None 0 6.66 kB jonschlinkert
npm/[email protected] None 0 5.85 kB phated
npm/[email protected] None 0 36.2 kB coolaj86
npm/[email protected] None +1 73.6 kB marcbachmann
npm/[email protected] environment, network 0 346 kB emilyemorehouse
npm/[email protected] None +4 66.7 kB jonschlinkert
npm/[email protected] None +5 115 kB jonschlinkert
npm/[email protected] None 0 16.4 kB jonschlinkert
npm/[email protected] None 0 27.5 kB domenic
npm/[email protected] None 0 9.27 kB asmarques
npm/[email protected] None 0 754 kB keithamus
npm/[email protected] None +1 24.2 kB jonschlinkert
npm/[email protected] None 0 14.8 kB bcoe
npm/[email protected] None 0 6.85 kB jonschlinkert
npm/[email protected] None 0 8 kB nami-doc
npm/[email protected] None 0 4.15 kB jonschlinkert
npm/[email protected] None 0 23.2 kB isaacs
npm/[email protected] environment Transitive: network +3 619 kB akroeger
npm/[email protected] environment, filesystem, shell 0 21.4 kB satazor
npm/[email protected] None 0 2.94 kB sindresorhus
npm/[email protected] None 0 283 kB mikemcl
npm/[email protected] None 0 5.71 kB samverschueren
npm/[email protected] None 0 10.7 kB doowb
npm/[email protected] filesystem 0 8.63 kB doowb
npm/[email protected] None 0 20.3 kB joshperry
npm/[email protected] None 0 36.3 kB mathias
npm/[email protected] None 0 42.1 kB kikobeats
npm/[email protected] None 0 6.23 kB mafintosh
npm/[email protected] None 0 87.3 kB sokra
npm/[email protected] None 0 18 kB ralphtheninja
npm/[email protected] None 0 2.69 kB jbnicolai
npm/[email protected] None +1 409 kB dekz
npm/[email protected] None 0 26 kB jonschlinkert
npm/[email protected] None 0 6.59 kB doowb
npm/[email protected] None +1 15.6 kB phated
npm/[email protected] None 0 41.1 kB jonschlinkert
npm/[email protected] None 0 4.84 kB sindresorhus
npm/[email protected] filesystem 0 6.77 kB phated
npm/[email protected] None 0 6.28 kB jonschlinkert
npm/[email protected] None 0 9.9 kB jonschlinkert
npm/[email protected] None 0 7.88 kB sindresorhus
npm/[email protected] None 0 3.71 kB jonschlinkert
npm/[email protected] environment Transitive: filesystem +1 14.8 kB jonschlinkert
npm/[email protected] environment, filesystem 0 8.59 kB phated
npm/[email protected] environment, filesystem 0 27.5 kB isaacs
npm/[email protected] None 0 7.62 kB jonschlinkert
npm/[email protected] None +3 34.5 kB jonschlinkert
npm/[email protected] None 0 31.2 kB arjunmehta
npm/[email protected] environment, filesystem 0 8.05 kB doowb
npm/[email protected] None 0 3.6 kB sindresorhus
npm/[email protected] None 0 8.93 kB isaacs
npm/[email protected] None 0 14.5 kB phated
npm/[email protected] None +2 26.3 kB jonschlinkert
npm/[email protected] None +1 12.1 kB jonschlinkert
npm/[email protected] None +1 25.4 kB jonschlinkert
npm/[email protected] None 0 11.3 kB phated
npm/[email protected] None 0 7.5 kB jonschlinkert
npm/[email protected] None 0 3.23 kB sindresorhus
npm/[email protected] None 0 7.96 kB jonschlinkert
npm/[email protected] None 0 88.3 kB jordanbtucker
npm/[email protected] None 0 26.9 kB evilebottnawi
npm/[email protected] None 0 3.87 kB sindresorhus
npm/[email protected] None 0 6.34 kB matteo.collina
npm/[email protected] None 0 8.41 kB samverschueren
npm/[email protected] None 0 7.6 kB jonschlinkert
npm/[email protected] None 0 8.47 kB jonschlinkert
npm/[email protected] None 0 13.4 kB sokra
npm/[email protected] None 0 84.8 kB jonschlinkert
npm/[email protected] None 0 30.4 kB substack
npm/[email protected] None 0 7.22 kB doowb
npm/[email protected] environment, filesystem +1 1 MB juergba
npm/[email protected] None 0 86.3 kB jonschlinkert
npm/[email protected] None 0 3.75 kB electerious
npm/[email protected] environment +2 129 kB mysticatea
npm/[email protected] environment 0 4.53 kB sindresorhus
npm/[email protected] environment, eval, filesystem, network, shell, unsafe 0 14.1 MB bcoe
npm/[email protected] None +1 11 kB jonschlinkert
npm/[email protected] None 0 6.7 kB jonschlinkert
npm/[email protected] None 0 6.36 kB phated
npm/[email protected] None 0 4.05 kB isaacs
npm/[email protected] environment Transitive: shell +5 49 kB sindresorhus
npm/[email protected] None 0 2.94 kB sindresorhus
npm/[email protected] None 0 3.11 kB sindresorhus
npm/[email protected] None 0 3.57 kB sindresorhus
npm/[email protected] None +1 11.1 kB sindresorhus
npm/[email protected] None 0 5.05 kB sindresorhus
npm/[email protected] None 0 5.96 kB doowb
npm/[email protected] None 0 4.46 kB jonschlinkert
npm/[email protected] filesystem 0 3.32 kB sindresorhus
npm/[email protected] None 0 3.02 kB sindresorhus
npm/[email protected] None 0 3.42 kB sindresorhus
npm/[email protected] None 0 6.97 kB jonschlinkert
npm/[email protected] None 0 3.17 kB cwmma
npm/[email protected] None 0 10.1 kB rvagg
npm/[email protected] filesystem 0 7.78 kB mafintosh
npm/[email protected] None 0 8.46 kB jonschlinkert
npm/[email protected] None 0 5.32 kB jonschlinkert
npm/[email protected] None 0 9.09 kB jonschlinkert
npm/[email protected] None 0 3.54 kB sindresorhus
npm/[email protected] None +1 12.8 kB phated
npm/[email protected] None 0 8.77 kB lydell
npm/[email protected] None 0 17.9 kB fent
npm/[email protected] None 0 5.87 kB substack
npm/[email protected] None 0 61.6 kB isaacs
npm/[email protected] None 0 4.22 kB bcoe
npm/[email protected] None 0 10.3 kB doowb
npm/[email protected] None 0 2.69 kB kevva
npm/[email protected] None 0 2.3 kB sindresorhus
npm/[email protected] None 0 27.3 kB nfischer
npm/[email protected] None 0 9.43 kB isaacs
npm/[email protected] None 0 25.8 kB jonschlinkert
npm/[email protected] None +1 56.2 kB jonschlinkert
npm/[email protected] filesystem 0 35.2 kB jonschlinkert
npm/[email protected] None 0 84.9 kB lydell
npm/[email protected] None 0 19.4 kB lydell
npm/[email protected] None 0 13.8 kB jonschlinkert
npm/[email protected] None 0 4.69 kB jonschlinkert
npm/[email protected] None 0 4.01 kB sindresorhus
npm/[email protected] None 0 4.17 kB sindresorhus
npm/[email protected] None 0 2.64 kB sindresorhus
npm/[email protected] None 0 40.6 kB sokra
npm/[email protected] None +1 10.6 kB jonschlinkert
npm/[email protected] None 0 12.6 kB jonschlinkert
npm/[email protected] filesystem 0 1.52 MB palantir
npm/[email protected] filesystem 0 1.41 MB gerrit0
npm/[email protected] None 0 506 kB florinn
npm/[email protected] None 0 40.3 MB typescript
npm/[email protected] None 0 6.83 kB doowb
npm/[email protected] None +3 26.3 kB jonschlinkert
npm/[email protected] None 0 4.37 kB lydell
npm/[email protected] None 0 9.51 kB jonschlinkert
npm/[email protected] environment, filesystem, unsafe 0 15.9 kB zertosh
npm/[email protected] environment, filesystem, shell, unsafe 0 223 kB ev1stensberg
npm/[email protected] None 0 4.58 kB nexdrew
npm/[email protected] environment 0 9.42 kB isaacs
npm/[email protected] None 0 9.62 kB sindresorhus
npm/[email protected] filesystem 0 10.4 kB nexdrew
npm/[email protected] environment +1 64.1 kB bcoe
npm/[email protected] environment, filesystem 0 228 kB bcoe

🚮 Removed packages: npm/[email protected]

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 NoteSource
Install scripts npm/@0x/[email protected]
  • Install script: postinstall
  • Source: node -e "try{ fs.unlinkSync(path.resolve(path.dirname(require.resolve('ganache-core')), './typings/index.d.ts')) } catch (err) {}"
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: postinstall-build dist
Install scripts npm/@0x/[email protected]

View full report↗︎

Next steps

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/[email protected] or ignore all packages with @SocketSecurity ignore-all

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