← Back to Pull requests

build(npm): bump undici from 8.11.2 to 8.12.3 #517

Closed
unknown closed this pull request without merging on Oct 25, 2026 01:10 UTC
View on GitHub
unknown unknown commented on Oct 25, 2026 01:10 UTC
Author

Bumps undici from 8.11.2 to 8.12.3.
<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>v8.12.3</h2>
<h2>What's Changed</h2>
<ul>
<li>ci: use Python 3.14 for the WPT server on macOS by <a href="https://github.com/mrityunjay-pandey"><code>@​mrityunjay-pandey</code></a> in <a href="https://redirect.github.com/nodejs/undici/pull/6029">nodejs/undici#6029</a></li>
<li>build(deps-dev): bump neostandard from 0.13.0 to 0.14.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/nodejs/undici/pull/6006">nodejs/undici#6006</a></li>
<li>build(deps-dev): bump eslint from 9.39.4 to 10.12.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/nodejs/undici/pull/5967">nodejs/undici#5967</a></li>
<li>docs: document the options of interceptors.cache() by <a href="https://github.com/qodelicious"><code>@​qodelicious</code></a> in <a href="https://redirect.github.com/nodejs/undici/pull/6050">nodejs/undici#6050</a></li>
<li>fix(h2): replace a connection that stops responding after a stream timeout by <a href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a href="https://redirect.github.com/nodejs/undici/pull/6052">nodejs/undici#6052</a></li>
<li>fix(pool): keep caller async context for queued requests by <a href="https://github.com/mcollina"><code>@​mcollina</code></a> in <a href="https://redirect.github.com/nodejs/undici/pull/5982">nodejs/undici#5982</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/qodelicious"><code>@​qodelicious</code></a> made their first contribution in <a href="https://redirect.github.com/nodejs/undici/pull/6050">nodejs/undici#6050</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/nodejs/undici/compare/v8.12.2...v8.12.3">https://github.com/nodejs/undici/compare/v8.12.2...v8.12.3</a></p>
<h2>v8.12.2</h2>
<h2>Security fixes</h2>
<h3>High severity</h3>
<h4>Denial of service via TLS 1.2 certificate-changing renegotiation</h4>
<p><strong>CVE-2026-87018 · <a href="https://github.com/nodejs/undici/security/advisories/GHSA-qrxm-fqhp-jwvm">GHSA-qrxm-fqhp-jwvm</a></strong></p>
<p>A malicious or compromised HTTPS server could crash the Node.js process by initiating TLS 1.2 renegotiation and presenting a different, CA-trusted certificate whose hostname did not match the requested host. The resulting socket error reached an assertion in undici's HTTP/1.1 and HTTP/2 connection handling. This release handles post-connect certificate errors without terminating the process.</p>
<h4>TLS certificate validation bypass through dropped <code>Agent</code> options</h4>
<p><strong>CVE-2026-109383 · <a href="https://github.com/nodejs/undici/security/advisories/GHSA-2m5v-pch6-74hx">GHSA-2m5v-pch6-74hx</a></strong></p>
<p><code>Agent</code> used a JSON-based clone for constructor options, which silently removed function-valued TLS options such as <code>checkServerIdentity</code>. Applications relying on custom certificate or public-key verification could therefore accept a certificate that the callback was intended to reject. This release preserves TLS options when creating per-origin dispatchers.</p>
<h4>Cache poisoning and cross-user disclosure through cross-origin redirects</h4>
<p><strong>CVE-2026-109829 · <a href="https://github.com/nodejs/undici/security/advisories/GHSA-4w7w-5xrc-9h26">GHSA-4w7w-5xrc-9h26</a></strong></p>
<p>When an originless <code>Agent</code> combined redirect and shared-cache interceptors as <code>compose(redirect(), cache())</code>, a response from a cross-origin redirect could be stored under the original URL. This could allow persistent cache poisoning or disclosure of user-specific responses to later callers. This release verifies the response origin before caching and preserves redirect-hop cache-control policy.</p>
<h4>Denial of service through excessive <code>Content-Encoding</code> values</h4>
<p><strong>CVE-2026-109869 · <a href="https://github.com/nodejs/undici/security/advisories/GHSA-xjj6-f33q-929c">GHSA-xjj6-f33q-929c</a></strong></p>
<p>A malicious HTTP server could crash the Node.js process by returning more than five content codings and closing the connection before sending the body. Although <code>fetch()</code> rejected the response, an error from an orphaned internal stream could remain unhandled. This release validates the content-encoding chain before creating the body stream and aborts oversized chains safely.</p>
<h3>Medium severity</h3>
<h4>Denial of service through the <code>decompress</code> interceptor</h4>
<p><strong>CVE-2026-87029 · <a href="https://github.com/nodejs/undici/security/advisories/GHSA-55wc-3pg8-jfw6">GHSA-55wc-3pg8-jfw6</a></strong></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/nodejs/undici/commit/ff9cc5e8556f488c045c884b4de367c5faed8522"><code>ff9cc5e</code></a> Bumped v8.12.3 (<a href="https://redirect.github.com/nodejs/undici/issues/6053">#6053</a>)</li>
<li><a href="https://github.com/nodejs/undici/commit/0bbf614b81ecd9e6fffc9d2edc5082d3c1b0b4bd"><code>0bbf614</code></a> fix(pool): keep caller async context for queued requests (<a href="https://redirect.github.com/nodejs/undici/issues/5982">#5982</a>)</li>
<li><a href="https://github.com/nodejs/undici/commit/aa1eef17b816caba4b62514f6a38505cf6c60677"><code>aa1eef1</code></a> fix(h2): replace a connection that stops responding after a stream timeout (#...</li>
<li><a href="https://github.com/nodejs/undici/commit/e34b872c51034dd90a188352d0fefaea8f13d1b6"><code>e34b872</code></a> docs: document the options of interceptors.cache() (<a href="https://redirect.github.com/nodejs/undici/issues/6050">#6050</a>)</li>
<li><a href="https://github.com/nodejs/undici/commit/e8f34234d10febe285ebc29c971c44c79220a123"><code>e8f3423</code></a> build(deps-dev): bump eslint from 9.39.4 to 10.12.0 (<a href="https://redirect.github.com/nodejs/undici/issues/5967">#5967</a>)</li>
<li><a href="https://github.com/nodejs/undici/commit/b777e40c486bbde395bfff66aecddb72cc95b67f"><code>b777e40</code></a> build(deps-dev): bump neostandard from 0.13.0 to 0.14.0 (<a href="https://redirect.github.com/nodejs/undici/issues/6006">#6006</a>)</li>
<li><a href="https://github.com/nodejs/undici/commit/43700ff9b5f2e0b7f914f6a0169506f8d6b1accf"><code>43700ff</code></a> ci: use Python 3.14 for the WPT server on macOS (<a href="https://redirect.github.com/nodejs/undici/issues/6029">#6029</a>)</li>
<li><a href="https://github.com/nodejs/undici/commit/bb6cc0ae9b6827ed273ed5ba344148273629638f"><code>bb6cc0a</code></a> Bumped v8.12.2 (<a href="https://redirect.github.com/nodejs/undici/issues/6021">#6021</a>)</li>
<li><a href="https://github.com/nodejs/undici/commit/b217373bb024cd93f85eb5b3ffd25684855f60f8"><code>b217373</code></a> fix(websocket): bound automatic PONG writes under backpressure</li>
<li><a href="https://github.com/nodejs/undici/commit/789ef26461c648480433846607154f52d74ec9ab"><code>789ef26</code></a> fix(eventsource): bound retained SSE parser state</li>
<li>Additional commits viewable in <a href="https://github.com/nodejs/undici/compare/v8.11.2...v8.12.3">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](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.

    </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: github-actions[bot] Review duration: 0m
    All Vouch review confidence checks passed
    Residual risk 0.40 = Change Risk (0.52) × (1 − Review Confidence (0.23)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 1% · Reviewer familiarity: 35%
    23%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #517"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 23.3% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 23.3% · Lower = rushed or shallow review
    23.3%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 39.9% · Moderate risk
    39.9%