Repository navigation
chore(deps): update dependency undici to v8.12.4 - #958
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #958 +/- ##
=======================================
Coverage 94.77% 94.77%
=======================================
Files 10 10
Lines 746 746
Branches 235 235
=======================================
Hits 707 707
Misses 36 36
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
commit: |
4cb9ba4 to
6a43483
Compare
6a43483 to
581d944
Compare
581d944 to
1e3a826
Compare
|
@copilot fix ci fail |
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
The macOS and Windows jobs failed on an unhandled |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
@copilot ci still fail |
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
My first fix was wrong, so CI still failed. The unhandled The |
This PR contains the following updates:
8.12.2→8.12.4Release Notes
nodejs/undici (undici)
v8.12.4Compare Source
This release fixes six vulnerabilities.
CVE-2026-116592 / GHSA-mqg3-3v4r-cm32 (high)
Undici 8.12.2 and 8.12.3 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)
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)
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)
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)
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)
fetch()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
originis optional only for origin-bound dispatchers by @attilayener in #5994New Contributors
Full Changelog: nodejs/undici@v8.12.3...v8.12.4
v8.12.3Compare Source
What's Changed
New Contributors
Full Changelog: nodejs/undici@v8.12.2...v8.12.3
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.