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 aegir from 37.12.1 to 38.1.6 #23

Merged
merged 28 commits into from
Aug 23, 2024

Conversation

adamlaska
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:
    • packages/ipfs-message-port-client/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-GHPAGES-3042993
Yes No Known Exploit

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

Commit messages
Package name: aegir The new version differs by 24 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

achingbrain and others added 28 commits October 24, 2022 09:08
Upgrades all deps to support `libp2p@0.40.x`.

BREAKING CHANGE: ipfs is now bundled with libp2p@0.40.x which has different config
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Add guides for the last few releases.
Improve docs around upgrading ts projects to use esm.
If we specify the return type of the `getIt` util, tsc will know what type `this` is in the test context so we can remove the error overrides.
Turn the `Blob`/`File` object into a `ReadableStream` then turn that into an `AsyncIterator<Uint8Array>` the same as the other input types.

Fixes ipfs#3601
Fixes ipfs#3576
)

`multiformats@11.x.x` shipped with a [breaking change](multiformats/js-multiformats#230) so update all deps using multiformats to the latest version.
Lerna is required for monorepo prereleases
Updates to latest version with new multiformats dependency
Use the new `release-rc` command in aegir to publish release candidates
instead of lerna.
Recent node versions ship with a global fetch which requires the duplex
option to be set when sending readable streams as the request body so
ensure we have the latest ipfs-utils that sets that option.
Updates to version with latest multiformats dep
Use the default gossipsub behaviour of not allowing publishing message
to zero peers.

If a user publishes a message they may be surprised to find it's not
been recieved by anyone, so instead an error should be thrown when there
are no peers that will receive a message.
If you write to an MFS directory with `rawLeaves: true`, it'll error out when doing a read saying `Error: /example-0/example.txt was not a file`.

This accounts for that case by handling the `raw` type the same as a file.

Co-authored-by: Mauve Signweaver <RangerMauve@mauve.moe>
Co-authored-by: Alex Potsides <alex@achingbrain.net>
Update to release version of libp2p
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Update readme badges and align dep versions
Build file is `test.yml` not `js-test-and-release.yml`
Removes out of date link
@google-cla
Copy link

google-cla bot commented Feb 21, 2023

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.

@socket-security
Copy link

socket-security bot commented Feb 21, 2023

Socket Security Pull Request Report

Dependency issues detected: If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 Install scripts

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Package Script field Source
esbuild@0.17.10 (added) postinstall packages/ipfs-core/package.json via aegir@38.1.6, interface-blockstore-tests@4.0.1
Pull request report summary
Issue Status
Install scripts ⚠️ 1 issue
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@2.4.2

  • @SocketSecurity ignore esbuild@0.17.10

Powered by socket.dev

@adamlaska adamlaska force-pushed the snyk-fix-cf2e089a63d3684928e328e5a34429fd branch from bd03093 to b64d4af Compare February 27, 2023 19:12
@pull pull bot merged commit b64d4af into master Aug 23, 2024
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.

6 participants