Repository navigation
chore(deps): update dependency undici to v7.30.2 - #656
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.30.1→7.30.2Release Notes
nodejs/undici (undici)
v7.30.2Compare Source
This release fixes six vulnerabilities.
CVE-2026-116592 / GHSA-mqg3-3v4r-cm32 (high)
Undici 7.30.1 could cache the final response from a redirect chain under the original request key without applying the origin, cache policy, freshness, or
Varyrequirements of every intermediate hop. This could poison a cache or expose one user's response to another user. The fix validates every redirect hop, combines theirVaryfields, limits freshness and stale serving to the most restrictive hop, and invalidates persistent SQLite entries written by vulnerable releases.CVE-2026-120474 / GHSA-7xg3-fphp-28hg (medium)
In Undici 7.x, a shared cache used with
compose(redirect(), cache())could store a credential-dependent response from a same-origin redirect under the original URL. A later authenticated or unauthenticated request could then receive another user's response. Redirected requests carryingAuthorization,Cookie, orProxy-Authorizationare no longer stored under the original alias key.CVE-2026-116630 / GHSA-5rm8-gv32-r954 (medium)
In Undici 7.x, a cross-origin redirect during cache revalidation could let a
304 Not Modifiedresponse from the redirect target validate a cached response from the original origin. Undici now checks that the revalidation target matches the cached URL and that any returned validator matches the stored representation before replaying the cached body.CVE-2026-120415 / GHSA-9v6h-8rgp-m69f (medium)
In Undici 7.x, the redirect interceptor did not strip credentials correctly when request headers were supplied as an array of
[name, value]pairs. With a header-normalizing interceptor outsideredirect(), credentials could be sent to a cross-origin redirect target. Undici now handles both tuple arrays and flat header arrays when removing sensitive headers.CVE-2026-120222 / GHSA-3g9m-rv3r-w5w2 (medium)
In Undici 7.x, a downstream handler exception during cache replay could escape as an uncaught exception or unhandled promise rejection and terminate the process. This included
dumpsize-limit failures, excessiveContent-Encodingvalues indecompress, asynchronous cache-store failures, and cached-body replay after a304. These failures are now reported as request errors.CVE-2026-120423 / GHSA-r4pc-4jcp-7pqc (medium)
Undici 7.15.0 through 7.30.1 could skip Subresource Integrity verification when valid integrity metadata was separated or surrounded by ASCII whitespace other than a space, including a horizontal tab. Integrity metadata is now split on all ASCII whitespace before SHA-256, SHA-384, or SHA-512 verification.
What's Changed
Full Changelog: nodejs/undici@v7.30.1...v7.30.2
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.