Skip to content

[Snyk] Upgrade undici from 5.28.4 to 7.9.0 #171

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

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

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Jun 1, 2025

snyk-top-banner

Snyk has created this PR to upgrade undici from 5.28.4 to 7.9.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 72 versions ahead of your current version.

  • The recommended version was released 21 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
169 Proof of Concept
high severity Insecure Randomness
SNYK-JS-UNDICI-8641354
169 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-OCTOKITENDPOINT-8730856
169 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-OCTOKITREQUESTERROR-8730854
169 Proof of Concept
low severity Missing Release of Memory after Effective Lifetime
SNYK-JS-UNDICI-10176064
169 Proof of Concept
Release notes
Package name: undici
  • 7.9.0 - 2025-05-10

    What's Changed

    New Contributors

    Full Changelog: v7.8.0...v7.9.0

  • 7.8.0 - 2025-04-10

    What's Changed

    New Contributors

    Full Changelog: v7.7.0...v7.8.0

  • 7.7.0 - 2025-04-02

    What's Changed

    New Contributors

    Full Changelog: v7.6.0...v7.7.0

  • 7.6.0 - 2025-03-27

    What's Changed

    New Contributors

    Full Changelog: v7.5.0...v7.6.0

  • 7.5.0 - 2025-03-12

    What's Changed

    • feat(docs): button to switch dark and light mode by @ shivarm in #4044
    • feat: add mock call history to access request configuration in test by @ blephy in #4029
    • fix: Fix retry-handler.js when retry-after header is a Date by @ fgiova in #4084
    • Update Cache Tests by @ github-actions in #4027
    • Allow disabling autoSelectFamily in an Agent by @ hitsthings in #4070
    • Removed clients with unrecoverable errors from the Pool by @ mcollina in #4088

    New Contributors

    Full Changelog: v7.4.0...v7.5.0

  • 7.4.0 - 2025-02-28

    What's Changed

    New Contributors

    Full Changelog: v7.3.0...v7.4.0

  • 7.3.0 - 2025-01-22

    What's Changed

    Full Changelog: v7.2.3...v7.3.0

  • 7.2.3 - 2025-01-16

    ⚠️ Security Release ⚠️

    Fixes CVE CVE-2025-22150 GHSA-c76h-2ccp-4975 (embargoed until 22-01-2025).

    What's Changed

    Full Changelog: v7.2.2...v7.2.3

  • 7.2.2 - 2025-01-15
  • 7.2.1 - 2025-01-09
  • 7.2.0 - 2024-12-18
  • 7.1.1 - 2024-12-16
  • 7.1.0 - 2024-12-03
  • 7.0.0 - 2024-11-27
  • 7.0.0-alpha.10 - 2024-11-27
  • 7.0.0-alpha.9 - 2024-11-27
  • 7.0.0-alpha.8 - 2024-11-27
  • 7.0.0-alpha.7 - 2024-11-25
  • 7.0.0-alpha.6 - 2024-11-20
  • 7.0.0-alpha.5 - 2024-11-19
  • 7.0.0-alpha.4 - 2024-11-15
  • 7.0.0-alpha.3 - 2024-10-24
  • 7.0.0-alpha.2 - 2024-10-09
  • 7.0.0-alpha.1 - 2024-09-03
  • 6.21.3 - 2025-05-13
  • 6.21.2 - 2025-03-13

    What's Changed

    New Contributors

    Full Changelog: v6.21.1...v6.21.2

  • 6.21.1 - 2025-01-16
  • 6.21.0 - 2024-11-13
  • 6.20.1 - 2024-10-14
  • 6.20.0 - 2024-10-09
  • 6.19.8 - 2024-08-19
  • 6.19.7 - 2024-08-09
  • 6.19.6 - 2024-08-09
  • 6.19.5 - 2024-07-31
  • 6.19.4 - 2024-07-22
  • 6.19.3 - 2024-07-22
  • 6.19.2 - 2024-06-18
  • 6.19.1 - 2024-06-17
  • 6.19.0 - 2024-06-14
  • 6.18.2 - 2024-05-29
  • 6.18.1 - 2024-05-22
  • 6.18.0 - 2024-05-20
  • 6.17.0 - 2024-05-17
  • 6.16.1 - 2024-05-10
  • 6.16.0 - 2024-05-07
  • 6.15.0 - 2024-04-29
  • 6.14.1 - 2024-04-23
  • 6.14.0 - 2024-04-22
  • 6.13.0 - 2024-04-12
  • 6.12.0 - 2024-04-08
  • 6.11.1 - 2024-04-02
  • 6.11.0 - 2024-04-02
  • 6.10.2 - 2024-03-27
  • 6.10.1 - 2024-03-21
  • 6.10.0 - 2024-03-21
  • 6.9.0 - 2024-03-14
  • 6.8.0 - 2024-03-13
  • 6.7.1 - 2024-03-08
  • 6.7.0 - 2024-03-03
  • 6.6.2 - 2024-02-06
  • 6.6.1 - 2024-02-05
  • 6.6.0 - 2024-02-01
  • 6.5.0 - 2024-01-26
  • 6.4.0 - 2024-01-19
  • 6.3.0 - 2024-01-08
  • 6.2.1 - 2023-12-22
  • 6.2.0 - 2023-12-20
  • 6.1.0 - 2023-12-20
  • 6.0.1 - 2023-12-06
  • 6.0.0 - 2023-12-05
  • 5.29.0 - 2025-03-19

    What's Changed

    • Fix tests in v5.x for Node 20 by @ mcollina in #4104
    • Removed clients with unrecoverable errors from the Pool #4088

    Full Changelog: v5.28.5...v5.29.0

  • 5.28.5 - 2025-01-16
  • 5.28.4 - 2024-04-02
from undici GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"undici","from":"5.28.4","to":"7.9.0"}],"env":"prod","hasFixes":true,"isBreakingChange":true,"isMajorUpgrade":true,"issuesToFix":["SNYK-JS-CROSSSPAWN-8303230","SNYK-JS-UNDICI-8641354","SNYK-JS-OCTOKITENDPOINT-8730856","SNYK-JS-OCTOKITREQUESTERROR-8730854","SNYK-JS-UNDICI-10176064"],"prId":"312f9639-f92e-4b38-a0f8-bcb95370749a","prPublicId":"312f9639-f92e-4b38-a0f8-bcb95370749a","packageManager":"npm","priorityScoreList":[169,185,67,67,57],"projectPublicId":"00eaf84d-a05e-4e1a-923e-697960352bb8","projectUrl":"https://app.snyk.io/org/nerds-github/project/00eaf84d-a05e-4e1a-923e-697960352bb8?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["priorityScore"],"type":"auto","upgrade":["SNYK-JS-CROSSSPAWN-8303230","SNYK-JS-UNDICI-8641354","SNYK-JS-OCTOKITENDPOINT-8730856","SNYK-JS-OCTOKITREQUESTERROR-8730854","SNYK-JS-UNDICI-10176064"],"upgradeInfo":{"versionsDiff":72,"publishedDat...

Summary by Sourcery

Upgrade the undici HTTP client library from v5.28.4 to v7.9.0 in the attest package to resolve known vulnerabilities and incorporate upstream fixes and enhancements.

Bug Fixes:

  • Address multiple security vulnerabilities in undici, including ReDoS, insecure randomness, and memory leaks

Enhancements:

  • Bring in latest performance and feature improvements from undici v7.x

Chores:

  • Bump undici dependency version in packages/attest/package.json

Snyk has created this PR to upgrade undici from 5.28.4 to 7.9.0.

See this package in npm:
undici

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/00eaf84d-a05e-4e1a-923e-697960352bb8?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Jun 1, 2025

Reviewer's Guide

This PR bumps the undici HTTP client in the attest package from v5.28.4 to v7.9.0 by updating the version specifier, ensuring the project picks up the latest security fixes and features.

File-Level Changes

Change Details Files
Dependency upgrade to undici 7.9.0
  • Updated the undici version specifier from ^5.28.4 to ^7.9.0
packages/attest/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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