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

Update dependency web3 to v1.5.3 [SECURITY] #189

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
web3 1.3.6 -> 1.5.3 age adoption passing confidence

Insecure Credential Storage in web3

GHSA-27v7-qhfv-rqq8

More information

Details

All versions of web3 are vulnerable to Insecure Credential Storage. The package stores encrypted wallets in local storage and requires a password to load the wallet. Once the wallet is loaded, the private key is accessible via LocalStorage. Exploiting this vulnerability likely requires a Cross-Site Scripting vulnerability to access the private key.

Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

Severity

  • CVSS Score: 3.3 / 10 (Low)
  • Vector String: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

ChainSafe/web3.js (web3)

v1.5.3

Compare Source

Fixed
  • Unable to send legacy transaction if network supported EIP-1559 (#​4277)
  • Fixed bug in sending transaction with providers not support "newBlockHeaders" event (#​3891)
Changed
  • ethers from 5.1.4 to 5.4.4 (#​4231)
  • karma from 5.2.3 to 6.3.4 (#​4231)
  • lerna from 3.22.1 to 4.0.0 (#​4231)
  • Dropped build tests in CI for Node v8 and v10, and added support for Node v14 (#​4231)
  • Change default value for maxPriorityFeePerGas from 1 Gwei to 2.5 Gwei (#​4284)
  • Fixed bug in signTransaction (#​4295)

v1.5.2

Compare Source

Fixed
  • Remove transaction type defaulting for eth.sendTransaction, eth.sendRawTransaction (#​4241)
  • type: 0x0 was being added to legacy transaction when using eth.signTransaction (#​4241)

v1.5.1

Compare Source

Added
  • maxPriorityFeePerGas and maxFeePerGas now included in _txInputFormatter (#​4217)
  • If maxPriorityFeePerGas of maxFeePerGas present _txInputFormatter deletes tx.gasPrice (fixes #​4211) (#​4217)
  • Add block tag support (e.g. latest, pending, earliest) to getFeeHistory (#​4224)
  • Support for EIP-1559 to web3.eth.sendTransaction (#​4220)

v1.5.0

Compare Source

Added
  • London transaction support (#​4155)
  • RPC support eth_feehistory call (#​4191)
  • Add toNumber method to web3.utils (#​4191)
Changed
  • Grammar fix (#​4088) and updated Swarm (#​4151)and Whisper doc links (#​4170)
  • Removed deprecation notice for HttpProvider (#​4008)
  • Nonce added to send options in documentation and types (#​4052)
  • Updated Solidity example to modern syntax (#​4147)
  • Changing web3 connection example from lets to const (#​3967)
  • Updated the documentation for the transaction object to include EIP-2718 and EIP-1559 options (#​4188)

v1.4.0

Compare Source

Added
  • Berlin Transaction Support (#​4083)
  • When signing a transaction, common object now defaults to berlin instead of petersburg
Changed
  • Changed Geth Docker verision from stable to 1.10.3 in e2e.geth.instamine.sh and scripts/e2e.geth.automine.sh (#​4154)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

socket-security bot commented Feb 19, 2024

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from 9804f53 to bc97d5d Compare February 22, 2024 11:56
@renovate renovate bot changed the title Update dependency web3 to v1.10.4 [SECURITY] Update dependency web3 to v1.10.4 [SECURITY] - autoclosed Feb 24, 2024
@renovate renovate bot closed this Feb 24, 2024
@renovate renovate bot deleted the renovate/npm-web3-vulnerability branch February 24, 2024 05:29
@renovate renovate bot changed the title Update dependency web3 to v1.10.4 [SECURITY] - autoclosed Update dependency web3 to v1.10.4 [SECURITY] Feb 24, 2024
@renovate renovate bot reopened this Feb 24, 2024
@renovate renovate bot restored the renovate/npm-web3-vulnerability branch February 24, 2024 06:56
@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch 3 times, most recently from 4958667 to 94008ee Compare February 29, 2024 10:51
@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from 94008ee to d36d0ee Compare March 4, 2024 16:18
Copy link

openzeppelin-code bot commented Mar 4, 2024

Update dependency web3 to v1.5.3 [SECURITY]

Generated at commit: e8d30e91dc73c0a4a6f8180c01547e6c81847409

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
3
0
8
27
40
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from d36d0ee to cab525b Compare March 6, 2024 21:46
@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from cab525b to 2591c1b Compare March 18, 2024 20:54
@renovate renovate bot changed the title Update dependency web3 to v1.10.4 [SECURITY] Update dependency web3 to v1.10.4 [SECURITY] - autoclosed Apr 18, 2024
@renovate renovate bot closed this Apr 18, 2024
@renovate renovate bot deleted the renovate/npm-web3-vulnerability branch April 18, 2024 19:11
@renovate renovate bot changed the title Update dependency web3 to v1.10.4 [SECURITY] - autoclosed Update dependency web3 to v1.10.4 [SECURITY] Apr 19, 2024
@renovate renovate bot reopened this Apr 19, 2024
@renovate renovate bot restored the renovate/npm-web3-vulnerability branch April 19, 2024 07:47
@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from 2591c1b to 340d04a Compare April 19, 2024 07:47
@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from 340d04a to bce2100 Compare May 13, 2024 13:58
@lvpeschke lvpeschke requested review from a team, martinvol, pahor167 and soloseng May 22, 2024 15:18
@soloseng
Copy link
Contributor

soloseng commented May 22, 2024

This is blocked by #76 due to node version incompatibilities.

@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from bce2100 to a85d4cd Compare June 17, 2024 15:32
@renovate renovate bot changed the title Update dependency web3 to v1.10.4 [SECURITY] Update dependency web3 to v1.5.3 [SECURITY] Jun 17, 2024
@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch 2 times, most recently from 7a8d243 to 8cf64b3 Compare July 24, 2024 15:52
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/npm-web3-vulnerability branch from 8cf64b3 to e8d30e9 Compare November 6, 2024 11:50
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.

1 participant