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 @solana/web3.js from 1.50.0 to 1.54.1 #312

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

Conversation

adamlaska
Copy link
Owner

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:
    • explorer/package.json
    • explorer/package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 828/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 8.7
Improper Validation of Integrity Check Value
SNYK-JS-SECP256K1-8237220
No Proof of Concept

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

Commit messages
Package name: @solana/web3.js The new version differs by 23 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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Copy link

google-cla bot commented Oct 23, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@blockworks-foundation/[email protected] Transitive: environment, filesystem, network +28 11.5 MB riordanp
npm/@bonfida/[email protected] Transitive: environment, filesystem, network +32 124 MB bonfida
npm/@bonfida/[email protected] Transitive: environment, filesystem +7 1.09 MB bonfida
npm/@cloudflare/[email protected] environment 0 118 kB third774
npm/@metamask/[email protected] None +5 84.1 kB whymarrh
npm/@metaplex/[email protected] filesystem, network Transitive: environment +18 5.89 MB m-sebastiyan
npm/@project-serum/[email protected] environment, filesystem, network +5 2.41 MB armaniferrante
npm/@project-serum/[email protected] None +7 6.03 MB armaniferrante
npm/@react-hook/[email protected] None +1 50.6 kB jaredlunde
npm/@sentry/[email protected] Transitive: network +5 1.82 MB sentry-bot
npm/@solana/[email protected] network +1 12.5 MB bartosz-lipinski
npm/@solana/[email protected] network Transitive: environment, filesystem +9 10.7 MB _chido
npm/@testing-library/[email protected] Transitive: filesystem +6 607 kB testing-library-bot
npm/@testing-library/[email protected] environment +24 7.98 MB testing-library-bot
npm/@testing-library/[email protected] Transitive: environment +24 3.8 MB testing-library-bot
npm/@types/[email protected] None 0 45 kB types
npm/@types/[email protected] None 0 1.66 kB types
npm/@types/[email protected] Transitive: environment +10 456 kB types
npm/@types/[email protected] None 0 1.7 MB types
npm/@types/[email protected] None 0 27.5 kB types
npm/@types/[email protected] None +2 36.6 kB types
npm/@types/[email protected] None +1 88.5 kB types
npm/@types/[email protected] None +3 1.33 MB types
npm/@types/[email protected] None 0 1.7 kB types
npm/[email protected] Transitive: environment +1 10.2 MB xhmikosr
npm/[email protected] None +4 1.51 MB etimberg
npm/[email protected] None 0 17.7 kB dcousens
npm/[email protected] network 0 98.7 kB markmiscavage

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@rollup/[email protected], npm/@rollup/[email protected], npm/@rollup/[email protected], npm/@rollup/[email protected], npm/@rollup/[email protected], npm/@rollup/[email protected], npm/@rollup/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteCI
Critical CVE npm/[email protected] ⚠︎
Protestware or potentially unwanted behavior npm/[email protected]
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
⚠︎
Critical CVE npm/[email protected] ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package may come along with functionality unrelated to its primary purpose.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

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.

2 participants