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.1 #18

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

Conversation

X-oss-byte
Copy link
Owner

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 upgrade ethers from 6.6.0 to 6.13.1.

ℹ️ 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 23 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
768 Proof of Concept
Release notes
Package name: ethers
  • 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
    • Allow transaction encoding for inferred type transactions (f02211d).
    • Added EIP-4788, receipts root and state root fields to Block (#4570; c5f126f).
    • Added EIP-4844 fields to Provider classes and formatter (#4570; 7b4f2c1).
    • Assert BrowserProvider receives an EIP-1193 provider to fail early when passing undefined ethereum object (b69f43b).
    • Add timeout to ContractTransactionResponse wait (#4497; 095de51).
    • Allow override keyword in human-readable ABI and improve error messages (#4514, #4548; be5ec2d).
    • Expand Contract sub-class to accept BaseContract super-class constructor arguments (#4538; 98496bc).
    • Allow network for default provider to be null to select mainnet (#4501; b6bf7ab).
    • Allow long dnsEncode names with optional length parameter (#4543; a136348).
    • Fix parseLog signature when receiving read-only array for topics (#4029, #4459; 20cd8a2).
    • Use Secure endpoints for BNB on Etherscan (#4525; 1f6e188).
    • Added holesky network and related end-points for supporting providers (c6e6c43).
    • Added EIP-4844 BLOb transactions (#4554; 9c1e82e).
    • Normalize EIP-712 types before computing the payload (#4541; 56c1361).
    • Updated thrid-part provider URLs for QuickNode (2b4891d).
    • Fixed normalization and abstracted EIP-712 Array parsing (#4541; 8f99601).
    • Updated third-party provider network URLs (#4542; 84ca14f).
    • Added additional sepolia testnets (4efef76).
    • Fix EIP-712 type aliases for uint and int (#4541; 43fb9c2).
    • Fixed typo in Error string (#4539; 7882905).
    • Better debugging output on fetch errors (bee07a0).
  • 6.10.0 - 2024-01-13
    • Limit decoded result imflation ratio from ABI-encoded data (#4537; 1b4debd).
  • 6.9.2 - 2024-01-03
    • Fix Base58 padding for string representation of binary data (#4527; ccac24a).
  • 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:

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

See this package in npm:
ethers

See this project in Snyk:
https://app.snyk.io/org/sammytezzy/project/5a5244eb-d014-4635-9818-8ddb177a1f58?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

stackblitz bot commented Jul 9, 2024

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

Copy link

changeset-bot bot commented Jul 9, 2024

⚠️ No Changeset found

Latest commit: 8a556c0

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 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. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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