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

chore(vulnerability): update vulnerabilities list for the new web3 issue #5150

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

jh2oman
Copy link
Contributor

@jh2oman jh2oman commented Mar 25, 2024

Description

GHSA-87qp-7cw8-8q9c

The most susceptible environments for this attack are Web servers, application servers, and web browsers so I think we are relatively safe in the wallet. Nevertheless this gives us another incentive to remove more old wallet code

New vulnerability with web3 utils. Our only use of web3 is with contractkit and we are 3 major versions behind. I created this placeholder project for removing all @celo dependencies and have linked this PR there.

It appears that we are on such an old version of the code that these utils don't exist yet 😅 . @satish-ravi and I could find no object manipulation helpers in the version we use of web3. The security vulnerability likely is mislabeled and should have a lower bound on the affected versions.

Related issues

https://linear.app/valora/project/remove-all-celo-dependencies-in-favor-of-viem-a7e601818b8e/ENG

Copy link

codecov bot commented Mar 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.70%. Comparing base (3338ec9) to head (5365dff).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5150      +/-   ##
==========================================
- Coverage   85.70%   85.70%   -0.01%     
==========================================
  Files         730      730              
  Lines       29861    29861              
  Branches     5156     5156              
==========================================
- Hits        25593    25592       -1     
- Misses       4033     4034       +1     
  Partials      235      235              

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3338ec9...5365dff. Read the comment docs.

Copy link
Contributor

@satish-ravi satish-ravi left a comment

Choose a reason for hiding this comment

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

Thanks for doing this. I was also reading about this, and it seems like the version we use (1.10.4), doesn't even have these methods? https://github.com/web3/web3.js/tree/v1.10.4/packages/web3-utils/src I don't see a format or mergeDeep

@jh2oman jh2oman added this pull request to the merge queue Mar 25, 2024
Merged via the queue into main with commit dec8f95 Mar 25, 2024
19 checks passed
@jh2oman jh2oman deleted the web3-vuln branch March 25, 2024 22:57
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
…sue (valora-inc#5150)

### Description

GHSA-87qp-7cw8-8q9c

~The most susceptible environments for this attack are Web servers,
application servers, and web browsers so I think we are relatively safe
in the wallet. Nevertheless this gives us another incentive to remove
more old wallet code~

~New vulnerability with web3 utils. Our only use of web3 is with
contractkit and we are 3 major versions behind. I created this
placeholder project for removing all `@celo` dependencies and have
linked this PR there.~

It appears that we are on such an old version of the code that these
utils don't exist yet 😅 . @satish-ravi and I could find no object
manipulation helpers in the version we use of web3. The security
vulnerability likely is mislabeled and should have a lower bound on the
affected versions.

### Related issues


https://linear.app/valora/project/remove-all-celo-dependencies-in-favor-of-viem-a7e601818b8e/ENG
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