[PR #8601] [MERGED] chore(deps-dev): bump undici from 7.22.0 to 7.24.0 #24990

Closed
opened 2026-04-15 22:40:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8601
Author: @dependabot[bot]
Created: 3/13/2026
Status: Merged
Merged: 3/16/2026
Merged by: @himself65

Base: canaryHead: dependabot/npm_and_yarn/undici-7.24.0


📝 Commits (1)

  • 4184550 chore(deps-dev): bump undici from 7.22.0 to 7.24.0

📊 Changes

2 files changed (+321 additions, -151 deletions)

View changed files

📝 pnpm-lock.yaml (+320 -150)
📝 test/package.json (+1 -1)

📄 Description

Bumps undici from 7.22.0 to 7.24.0.

Release notes

Sourced from undici's releases.

v7.24.0

Undici v7.24.0 Security Release Notes

This release addresses multiple security vulnerabilities in Undici.

Upgrade guidance

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

Fixed advisories

  • GHSA-2mjp-6q6p-2qxm / CVE-2026-1525 (Medium)
    Inconsistent interpretation of HTTP requests (request/response smuggling class issue).

  • GHSA-f269-vfmq-vjvj / CVE-2026-1528 (High)
    Malicious WebSocket 64-bit frame length handling could crash the client.

  • GHSA-phc3-fgpg-7m6h / CVE-2026-2581 (Medium)
    Unbounded memory consumption in deduplication interceptor response buffering (DoS risk).

  • GHSA-4992-7rv2-5pvq / CVE-2026-1527 (Medium)
    CRLF injection via the upgrade option.

  • GHSA-v9p9-hfj2-hcw8 / CVE-2026-2229 (High)
    Unhandled exception from invalid server_max_window_bits in WebSocket permessage-deflate negotiation.

  • GHSA-vrm6-8vpv-qv8q / CVE-2026-1526 (High)
    Unbounded memory consumption in WebSocket permessage-deflate decompression.

Affected and patched ranges

  • CVE-2026-1525: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-1528: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-2581: affected >= 7.17.0 < 7.24.0, patched 7.24.0
  • CVE-2026-1527: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-2229: affected 7.0.0 < 7.24.0, patched 7.24.0
  • CVE-2026-1526: affected 7.0.0 < 7.24.0, patched 7.24.0

References

v7.23.0

What's Changed

... (truncated)

Commits
  • 07a3906 Bumped v7.24.0 (#4887)
  • 74495c6 fix: reject duplicate content-length and host headers
  • 84235c6 Fix websocket 64-bit length overflow
  • 77594f9 fix: validate upgrade header to prevent CRLF injection
  • cb79c57 fix: validate server_max_window_bits range in permessage-deflate
  • 4147ce2 Merge commit '2ee00cb3'
  • 2ee00cb fix(websocket): add maxDecompressedMessageSize limit for permessage-deflate
  • 5890c7b fix(deduplicate): stream response chunks to waiting handlers
  • fbda3c1 Bumped v7.23.0 (#4884)
  • 07276c9 fix: remove unused kSocketPath symbol
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Update dev dependency undici to 7.24.0 to patch multiple security issues and harden HTTP/WebSocket handling in tests.

  • Dependencies
    • Bump undici 7.22.0 → 7.24.0. Fixes CVEs related to request smuggling, CRLF injection on upgrade, WebSocket frame length handling, and unbounded memory use in deduplication and permessage-deflate.

Written for commit 4184550ec1. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8601 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 3/13/2026 **Status:** ✅ Merged **Merged:** 3/16/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `dependabot/npm_and_yarn/undici-7.24.0` --- ### 📝 Commits (1) - [`4184550`](https://github.com/better-auth/better-auth/commit/4184550ec13d747343498e5eba24d3d69a9fb3f4) chore(deps-dev): bump undici from 7.22.0 to 7.24.0 ### 📊 Changes **2 files changed** (+321 additions, -151 deletions) <details> <summary>View changed files</summary> 📝 `pnpm-lock.yaml` (+320 -150) 📝 `test/package.json` (+1 -1) </details> ### 📄 Description Bumps [undici](https://github.com/nodejs/undici) from 7.22.0 to 7.24.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nodejs/undici/releases">undici's releases</a>.</em></p> <blockquote> <h2>v7.24.0</h2> <h1>Undici v7.24.0 Security Release Notes</h1> <p>This release addresses multiple security vulnerabilities in Undici.</p> <h2>Upgrade guidance</h2> <p>All users on v7 should upgrade to <strong>v7.24.0</strong> or later.</p> <h2>Fixed advisories</h2> <ul> <li> <p><a href="https://github.com/nodejs/undici/security/advisories/GHSA-2mjp-6q6p-2qxm">GHSA-2mjp-6q6p-2qxm</a> / CVE-2026-1525 (Medium)<br /> Inconsistent interpretation of HTTP requests (request/response smuggling class issue).</p> </li> <li> <p><a href="https://github.com/nodejs/undici/security/advisories/GHSA-f269-vfmq-vjvj">GHSA-f269-vfmq-vjvj</a> / CVE-2026-1528 (High)<br /> Malicious WebSocket 64-bit frame length handling could crash the client.</p> </li> <li> <p><a href="https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h">GHSA-phc3-fgpg-7m6h</a> / CVE-2026-2581 (Medium)<br /> Unbounded memory consumption in deduplication interceptor response buffering (DoS risk).</p> </li> <li> <p><a href="https://github.com/nodejs/undici/security/advisories/GHSA-4992-7rv2-5pvq">GHSA-4992-7rv2-5pvq</a> / CVE-2026-1527 (Medium)<br /> CRLF injection via the <code>upgrade</code> option.</p> </li> <li> <p><a href="https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8">GHSA-v9p9-hfj2-hcw8</a> / CVE-2026-2229 (High)<br /> Unhandled exception from invalid <code>server_max_window_bits</code> in WebSocket permessage-deflate negotiation.</p> </li> <li> <p><a href="https://github.com/nodejs/undici/security/advisories/GHSA-vrm6-8vpv-qv8q">GHSA-vrm6-8vpv-qv8q</a> / CVE-2026-1526 (High)<br /> Unbounded memory consumption in WebSocket permessage-deflate decompression.</p> </li> </ul> <h2>Affected and patched ranges</h2> <ul> <li>CVE-2026-1525: affected <code>7.0.0 &lt; 7.24.0</code>, patched <code>7.24.0</code></li> <li>CVE-2026-1528: affected <code>7.0.0 &lt; 7.24.0</code>, patched <code>7.24.0</code></li> <li>CVE-2026-2581: affected <code>&gt;= 7.17.0 &lt; 7.24.0</code>, patched <code>7.24.0</code></li> <li>CVE-2026-1527: affected <code>7.0.0 &lt; 7.24.0</code>, patched <code>7.24.0</code></li> <li>CVE-2026-2229: affected <code>7.0.0 &lt; 7.24.0</code>, patched <code>7.24.0</code></li> <li>CVE-2026-1526: affected <code>7.0.0 &lt; 7.24.0</code>, patched <code>7.24.0</code></li> </ul> <h2>References</h2> <ul> <li>GitHub Security Advisories: <a href="https://github.com/nodejs/undici/security/advisories">https://github.com/nodejs/undici/security/advisories</a></li> <li>NVD CVE-2026-1525: <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-1525">https://nvd.nist.gov/vuln/detail/CVE-2026-1525</a></li> <li>NVD CVE-2026-1528: <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-1528">https://nvd.nist.gov/vuln/detail/CVE-2026-1528</a></li> <li>NVD CVE-2026-2581: <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-2581">https://nvd.nist.gov/vuln/detail/CVE-2026-2581</a></li> <li>NVD CVE-2026-1527: <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-1527">https://nvd.nist.gov/vuln/detail/CVE-2026-1527</a></li> <li>NVD CVE-2026-2229: <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-2229">https://nvd.nist.gov/vuln/detail/CVE-2026-2229</a></li> <li>NVD CVE-2026-1526: <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-1526">https://nvd.nist.gov/vuln/detail/CVE-2026-1526</a></li> </ul> <h2>v7.23.0</h2> <h2>What's Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nodejs/undici/commit/07a39067a0485c1953196f500d945fe09378a176"><code>07a3906</code></a> Bumped v7.24.0 (<a href="https://redirect.github.com/nodejs/undici/issues/4887">#4887</a>)</li> <li><a href="https://github.com/nodejs/undici/commit/74495c63ab23ef39be99983ed6de81df5d203d45"><code>74495c6</code></a> fix: reject duplicate content-length and host headers</li> <li><a href="https://github.com/nodejs/undici/commit/84235c62e0fe7494cec13f81d5732db0859df417"><code>84235c6</code></a> Fix websocket 64-bit length overflow</li> <li><a href="https://github.com/nodejs/undici/commit/77594f923cef4c27ee0bad365e7b4c44a199edae"><code>77594f9</code></a> fix: validate upgrade header to prevent CRLF injection</li> <li><a href="https://github.com/nodejs/undici/commit/cb79c5704ac47e42ce01a72269994fc70e377536"><code>cb79c57</code></a> fix: validate server_max_window_bits range in permessage-deflate</li> <li><a href="https://github.com/nodejs/undici/commit/4147ce21277b3566d02d3be789e5f7a490089db2"><code>4147ce2</code></a> Merge commit '2ee00cb3'</li> <li><a href="https://github.com/nodejs/undici/commit/2ee00cb322c76b0bf56829462d7c1dc53d1cbe3d"><code>2ee00cb</code></a> fix(websocket): add maxDecompressedMessageSize limit for permessage-deflate</li> <li><a href="https://github.com/nodejs/undici/commit/5890c7b7076894d00402f0c23c0fe72e59c72ff4"><code>5890c7b</code></a> fix(deduplicate): stream response chunks to waiting handlers</li> <li><a href="https://github.com/nodejs/undici/commit/fbda3c166860772dd80b2577175617d9dddcdb81"><code>fbda3c1</code></a> Bumped v7.23.0 (<a href="https://redirect.github.com/nodejs/undici/issues/4884">#4884</a>)</li> <li><a href="https://github.com/nodejs/undici/commit/07276c90545bd66b075a7002875fcfa7f8d9fd04"><code>07276c9</code></a> fix: remove unused kSocketPath symbol</li> <li>Additional commits viewable in <a href="https://github.com/nodejs/undici/compare/v7.22.0...v7.24.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=undici&package-manager=npm_and_yarn&previous-version=7.22.0&new-version=7.24.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/better-auth/better-auth/network/alerts). </details> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update dev dependency `undici` to 7.24.0 to patch multiple security issues and harden HTTP/WebSocket handling in tests. - **Dependencies** - Bump `undici` 7.22.0 → 7.24.0. Fixes CVEs related to request smuggling, CRLF injection on upgrade, WebSocket frame length handling, and unbounded memory use in deduplication and permessage-deflate. <sup>Written for commit 4184550ec13d747343498e5eba24d3d69a9fb3f4. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:40:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#24990