Skip to content

fix(deps): update dependency undici to v6#875

Open
renovate[bot] wants to merge 1 commit into
chore/renovateBaseBranchfrom
renovate/undici-6.x
Open

fix(deps): update dependency undici to v6#875
renovate[bot] wants to merge 1 commit into
chore/renovateBaseBranchfrom
renovate/undici-6.x

Conversation

@renovate

@renovate renovate Bot commented Dec 9, 2023

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
undici (source) 5.28.46.27.0 age confidence

Release Notes

nodejs/undici (undici)

v6.27.0

Compare Source

⚠️ Security Release

This release line addresses 4 security advisories.

Action required: Upgrade to undici 6.27.0 or later.

npm install undici@^6.27.0

Note on patched version: the v6 fixes shipped in v6.27.0, not 6.26.0
v6.26.0 contains only the chunked-EOF fix (#​5308) and the version bump, none
of the security fixes below.

The v6 line is not affected by the SOCKS5 advisories (GHSA-vmh5-mc38-953g,
GHSA-hm92-r4w5-c3mj), the shared-cache disclosure (GHSA-pr7r-676h-xcf6), or the
8.x-only WebSocket regression (GHSA-38rv-x7px-6hhq).

Summary

Advisory CVE Severity (CVSS) Fixed in Fix commit
GHSA-vxpw-j846-p89q CVE-2026-12151 High (7.5) 6.27.0 b7f252e7
GHSA-p88m-4jfj-68fv CVE-2026-9679 Moderate (5.9) 6.27.0 25efa447
GHSA-g8m3-5g58-fq7m CVE-2026-11525 Low (3.7) 6.27.0 25efa447
GHSA-35p6-xmwp-9g52 CVE-2026-6733 Low (3.7) 6.27.0 f4c31d60

High severity

WebSocket DoS via fragment count bypass — CVE-2026-12151

GHSA-vxpw-j846-p89q · CWE-400, CWE-770
Fix: b7f252e7 Backport WebSocket maxPayloadSize fixes (#​5423, backported to v6 in #​5428)

A malicious WebSocket server can stream a large number of small or empty
continuation frames. Undici enforced a limit on cumulative payload size but did
not limit the number of fragments per message, leading to unbounded memory
growth and denial of service. All releases from 6.17.0 onward are affected.

  • Affected: applications using new WebSocket(...) or WebSocketStream
    against untrusted endpoints.
  • Workaround: none — upgrade is required.

Moderate severity

HTTP header injection via Set-Cookie percent-decoding — CVE-2026-9679

GHSA-p88m-4jfj-68fv · CWE-93
Fix: 25efa447 fix(cookies): preserve values and parse SameSite strictly

parseSetCookie applied percent-decoding to cookie values, turning encoded
sequences like %0D%0A and %00 into literal bytes, contrary to RFC 6265 §5.4
and browser behavior. Applications forwarding parsed Set-Cookie values into
response headers were exposed to header injection, enabling session fixation,
open redirects, and cache poisoning.

  • Workaround: sanitize values before forwarding — strip or reject CR, LF,
    NUL, ;, and =.

Low severity

Set-Cookie SameSite attribute downgrade — CVE-2026-11525

GHSA-g8m3-5g58-fq7m · CWE-183
Fix: 25efa447 fix(cookies): preserve values and parse SameSite strictly

The cookie parser accepted SameSite values containing Strict, Lax, or
None as substrings rather than requiring exact matches per RFC 6265. Values
like SameSite=NoneOfYourBusiness parsed as None, and SameSite=StrictLax
parsed as Lax, silently weakening cookie security policies for apps that
forward parsed attributes.

HTTP response queue poisoning via keep-alive socket reuse — CVE-2026-6733

GHSA-35p6-xmwp-9g52 · CWE-367 (TOCTOU race condition)
Fix: f4c31d60 fix: guard idle socket validation to skip fresh sockets (#​5400)

An attacker controlling an upstream HTTP/1.1 server could inject unsolicited
responses onto idle keep-alive sockets. On socket reuse, the injected response
was associated with a new request, delivering responses to the wrong requests.

  • Requirements: attacker-controlled/compromised upstream and active
    keep-alive reuse.
  • Workaround: disable keep-alive reuse with keepAliveTimeout: 0 on the
    Client or Pool.

Release contents & deliberate backports

v6.27.0 is a security-only release — every change in it is one of the fixes
above, backported to the v6.x maintenance line on purpose:

  • #5428 — backport of the WebSocket maxPayloadSize fragment-count / cumulative-size limits to v6.x (CVE-2026-12151; this is the v6 counterpart of the v7 backport #​5423).
  • #5400 — idle-socket-validation fix for the queue-poisoning issue (CVE-2026-6733).

The cookie fix (25efa447,
covering both CVE-2026-9679 and CVE-2026-11525) was applied directly to the v6.x
branch. Full changelog:
v6.26.0...v6.27.0.


Credits

Per-advisory credits (as recorded in each GHSA):

v6.26.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.25.0...v6.26.0

v6.25.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.24.1...v6.25.0

v6.24.1

Compare Source

Full Changelog: nodejs/undici@v6.24.0...v6.24.1

v6.24.0

Compare Source

Undici v6.24.0 Security Release Notes (LTS)

This release backports fixes for security vulnerabilities affecting the v6 line.

Upgrade guidance

All users on v6 should upgrade to v6.24.0 or later.

Fixed advisories

Not applicable to v6

Affected and patched ranges (v6)

References

v6.23.0

Compare Source

⚠️ Security Release

This fixes GHSA-g9mf-h72j-4rw9 and CVE-2026-22036.

Full Changelog: nodejs/undici@v6.22.0...v6.23.0

v6.22.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.21.3...v6.22.0

v6.21.3

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.21.2...v6.21.3

v6.21.2

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.21.1...v6.21.2

v6.21.1

Compare Source

⚠️ Security Release ⚠️

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

What's Changed

Full Changelog: nodejs/undici@v6.21.0...v6.21.1

v6.21.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.20.1...v6.21.0

v6.20.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.20.0...v6.20.1

v6.20.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.19.8...v6.20.0

v6.19.8

Compare Source

Full Changelog: nodejs/undici@v6.19.7...v6.19.8

v6.19.7

Compare Source

Full Changelog: nodejs/undici@v6.19.6...v6.19.7

v6.19.6

Compare Source

Full Changelog: nodejs/undici@v6.19.5...v6.19.6

v6.19.5

Compare Source

Full Changelog: nodejs/undici@v6.19.4...v6.19.5

v6.19.4

Compare Source

Full Changelog: nodejs/undici@v6.19.3...v6.19.4

v6.19.3

Compare Source

Full Changelog: nodejs/undici@v6.19.2...v6.19.3

v6.19.2

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.19.1...v6.19.2

v6.19.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.19.0...v6.19.1

v6.19.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.18.2...v6.19.0

v6.18.2

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.18.1...v6.18.2

v6.18.1

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.18.0...v6.18.1

v6.18.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.17.0...v6.18.0

v6.17.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.16.1...v6.17.0

v6.16.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.16.0...v6.16.1

v6.16.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.15.0...v6.16.0

v6.15.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.14.1...v6.15.0

v6.14.1

Compare Source

What's Changed

Full Changelog: nodejs/undici@v6.14.0...v6.14.1

v6.14.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.13.0...v6.14.0

v6.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v6.12.0...v6.13.0

v6.12.0

Compare Source

What's Changed

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • "after 4pm on friday,before 9am on monday,every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/undici-6.x branch 8 times, most recently from 8863d35 to 958ce44 Compare December 16, 2023 13:31
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 5 times, most recently from 77d0909 to 15d802c Compare December 24, 2023 10:52
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 4 times, most recently from 1c54b60 to 1f6d29b Compare December 30, 2023 20:05
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 4 times, most recently from 6a8c1a8 to f0a4732 Compare January 12, 2024 15:31
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from f0a4732 to 8c9ef02 Compare January 19, 2024 15:25
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 8c9ef02 to 3e03101 Compare January 26, 2024 15:51
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 3e03101 to 4ff17ec Compare February 2, 2024 16:49
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 4ff17ec to 9f384b0 Compare February 9, 2024 19:24
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 2 times, most recently from b2b2f14 to 30b5715 Compare March 8, 2024 16:37
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 30b5715 to 6e892c8 Compare March 15, 2024 15:50
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 2 times, most recently from 62e2221 to e2dc373 Compare March 29, 2024 16:30
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from e2dc373 to 7a28e8a Compare April 5, 2024 15:26
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 7a28e8a to b6fb780 Compare April 12, 2024 16:11
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from b6fb780 to eb672bd Compare April 26, 2024 16:33
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 2 times, most recently from 6c9093c to 6ed5643 Compare May 10, 2024 14:17
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 2 times, most recently from c0c4dd6 to 67f2d85 Compare May 24, 2024 14:33
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 67f2d85 to 7db1024 Compare May 31, 2024 14:10
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 2 times, most recently from 5bc9b46 to 0815721 Compare June 21, 2024 16:13
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 2 times, most recently from 3dd3ea3 to fccf4f4 Compare August 2, 2024 15:18
@renovate renovate Bot changed the title fix(deps): update dependency undici to v6 fix(deps): update dependency undici to v6 - abandoned Aug 6, 2024
@renovate

renovate Bot commented Aug 6, 2024

Copy link
Copy Markdown
Contributor Author

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@renovate renovate Bot force-pushed the renovate/undici-6.x branch from fccf4f4 to fb5efb4 Compare September 6, 2024 14:35
@renovate renovate Bot changed the title fix(deps): update dependency undici to v6 - abandoned fix(deps): update dependency undici to v6 Sep 6, 2024
@renovate renovate Bot force-pushed the renovate/undici-6.x branch 2 times, most recently from 130f4dc to 0348554 Compare October 18, 2024 15:29
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 0348554 to eb020cd Compare November 15, 2024 16:07
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from eb020cd to 21f9dbd Compare January 17, 2025 15:07
@renovate renovate Bot changed the title fix(deps): update dependency undici to v6 fix(deps): update dependency undici to v6 - abandoned Jan 22, 2025
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 21f9dbd to e5c2fd6 Compare March 27, 2026 15:49
@renovate renovate Bot changed the title fix(deps): update dependency undici to v6 - abandoned fix(deps): update dependency undici to v6 Mar 27, 2026
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from e5c2fd6 to 823d3a8 Compare April 17, 2026 17:11
@codacy-production

codacy-production Bot commented Apr 17, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes.

@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 823d3a8 to 7dfda1e Compare May 29, 2026 16:40
@renovate renovate Bot force-pushed the renovate/undici-6.x branch from 7dfda1e to 12b37f8 Compare June 19, 2026 16:55
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.

0 participants