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] Security upgrade web3 from 1.10.4 to 4.0.1 #17

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

Woodpile37
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:
    • apps/block_scout_web/assets/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 768/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-WEB3UTILS-6229337
Yes Proof of Concept

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

Commit messages
Package name: web3 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:

🦉 Prototype Pollution

Copy link

changeset-bot bot commented Mar 24, 2024

⚠️ No Changeset found

Latest commit: ba415da

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

codeautopilot bot commented Mar 24, 2024

PR summary

This Pull Request (PR) is an automated security upgrade created by Snyk to address a high severity vulnerability found in the web3 package. The upgrade is from version 1.10.4 to 4.0.1. The vulnerability fixed is a Prototype Pollution issue with a priority score of 768/1000, which has a Proof of Concept exploit maturity.

The PR includes changes to the package.json file within the apps/block_scout_web/assets directory to upgrade the web3 package to a non-vulnerable version.

Suggestion

While the upgrade fixes the security issue, it is marked as a breaking change. It is important to thoroughly test the application with the upgraded package to ensure that the upgrade does not break any existing functionality. If the application relies on deprecated or altered functionality from web3, refactoring the affected code may be necessary.

Additionally, reviewing the commit history and changelog of web3 between versions 1.10.4 and 4.0.1 can provide insights into potential areas of the application that may require attention due to breaking changes.

If the breaking changes are too significant or the upgrade requires substantial refactoring, an alternative approach could be to look for a patch that addresses the vulnerability without upgrading to a version with breaking changes, if such a patch is available.

Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect.

Current plan usage: 43.74%

Have feedback or need help?
Discord
Documentation
[email protected]

Copy link

sonarcloud bot commented Mar 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Woodpile37 Woodpile37 merged commit 2fa0f6e into master Aug 21, 2024
23 of 25 checks passed
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