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] Upgrade ethers from 6.6.0 to 6.13.4 #21

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

Conversation

X-oss-byte
Copy link
Owner

@X-oss-byte X-oss-byte commented Nov 2, 2024

snyk-top-banner

Snyk has created this PR to upgrade ethers from 6.6.0 to 6.13.4.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 26 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
696 Proof of Concept
Release notes
Package name: ethers
  • 6.13.4 - 2024-10-12
  • 6.13.3 - 2024-10-01
    • Allow CCIP-read to continue during low-level fetch failures (#4842; 1c31f95).
  • 6.13.2 - 2024-07-25
    • Prevent mutating transactions when signing (#4789; 1a51af8).
  • 6.13.1 - 2024-06-18
    • Update ws package to address possible DoS vulnerability (a4b1d1f).
  • 6.13.0 - 2024-06-04
    • Added Options for BrowserProvider (#4707; 33bb0bf).
    • Fix Result deep toObject when a parent is an Array (#4681; d8cb849).
    • Added consistent timeout and cancel behaviour to FetchRequest (#4122; a12a739).
  • 6.12.2 - 2024-06-02
    • Copy EIP-4844 properties during estimateGas and call (#4728; cebe5ee).
    • Use non-capturing regex for data to prevent memory exhaustion for long strings (#4741; 5463aa0).
    • Added Base endpointsto EtherscanProvider (#4729; 7e1dc95).
  • 6.12.1 - 2024-05-01
    • Prevent bad Interface clone when using two different versions of v6 (#4689; 4d2d90f).
    • Fixed typo in error message for invalid quorum weight (#4149; 45b9b9c).
    • Added matic-amoy to EtherescanProvider (#4711; 5c8d17a).
    • Fix JsonRpcProvider ignoring pollingInterval in options (#4644; 7b7be0d).
  • 6.12.0 - 2024-04-17
    • Added Linea Sepolia network and Infura endpoint (#4655; b4aaab8).
    • Do not send unsubscribe messages to destroyed Providers (#4678; c45935e).
    • Get definitive network from InfuraProvider when using InfuraWebSocketProvider (38e32d8).
    • Better error messages for transaction field mismatch (#4659; 9230aa0).
    • Added prevRandao to block (#3372; ec6a754).
    • Added Polygon Amoy testnet (#4645; 1717abb).
    • Added Chainstack provider (#2741; 014004d).
    • Added deep convertion to Result for toObject and toArray (#4681; 03bfe2a).
    • Added EIP-4844 broadcast support (92bad88).
    • Fix ignored throttle parameters (#4663; 12772e9).
  • 6.12.0-beta.1 - 2024-03-27
    • Added EIP-4844 broadcast support.
    • Fix ignored throttle parameters (#4663; 12772e9).
  • 6.11.1 - 2024-02-14
    • Throw an error when attempting to derive from a master path from a non-master node (#4551; 556fdd9).
    • Allow ENS wildcards with labels up to 255 bytes wide; discussed with ENS and deemed safe (#4543; 7f14bde).
    • Enforce string is passed to toUtf8Bytes (#4583; f45bb87).
    • Fix transaction.index not being populated on some backends (#4591; 7f0e140).
  • 6.11.0 - 2024-02-09
  • 6.10.0 - 2024-01-13
  • 6.9.2 - 2024-01-03
  • 6.9.1 - 2023-12-20
  • 6.9.0 - 2023-11-27
  • 6.8.1 - 2023-11-01
  • 6.8.0 - 2023-10-11
  • 6.7.1 - 2023-08-15
  • 6.7.0 - 2023-08-03
  • 6.6.7 - 2023-07-28
  • 6.6.6 - 2023-07-28
  • 6.6.5 - 2023-07-24
  • 6.6.4 - 2023-07-16
  • 6.6.3 - 2023-07-12
  • 6.6.2 - 2023-06-28
  • 6.6.1 - 2023-06-23
  • 6.6.0 - 2023-06-14
from ethers GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Build:

  • Upgrade ethers dependency from version 6.6.0 to 6.13.4 in package.json.

Snyk has created this PR to upgrade ethers from 6.6.0 to 6.13.4.

See this package in npm:
ethers

See this project in Snyk:
https://app.snyk.io/org/sammyfilly/project/b4b59883-4a21-49b5-b9a6-bdf97ba9f62c?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

stackblitz bot commented Nov 2, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

changeset-bot bot commented Nov 2, 2024

⚠️ No Changeset found

Latest commit: b1c4958

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

sourcery-ai bot commented Nov 2, 2024

Reviewer's Guide by Sourcery

This PR upgrades the ethers library from version 6.6.0 to 6.13.4 to address a high-severity Denial of Service vulnerability in the ws dependency. The upgrade includes multiple bug fixes, performance improvements, and new features across 26 versions.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Dependency version update in package configuration files
  • Update ethers version from ^6.6.0 to ^6.13.4 in package.json
  • Update corresponding entry in package-lock.json
package.json
package-lock.json
Security vulnerability fix
  • Address high-severity Denial of Service (DoS) vulnerability in ws dependency
  • Update ws package to prevent potential memory exhaustion
package.json
package-lock.json
Notable feature and stability improvements from ethers updates
  • Fix JSON-RPC error checking
  • Add consistent timeout and cancel behavior to FetchRequest
  • Prevent transaction mutation during signing
  • Add support for EIP-4844 broadcast
  • Improve error messages for transaction field mismatches
package.json
package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!

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