Skip to content

chore(deps): bump undici from 8.5.0 to 8.10.0 - #172

Merged
helebest merged 1 commit into
mainfrom
dependabot/npm_and_yarn/undici-8.10.0
Aug 15, 2026
Merged

chore(deps): bump undici from 8.5.0 to 8.10.0#172
helebest merged 1 commit into
mainfrom
dependabot/npm_and_yarn/undici-8.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 15, 2026

Copy link
Copy Markdown
Contributor

Bumps undici from 8.5.0 to 8.10.0.

Release notes

Sourced from undici's releases.

v8.10.0

What's Changed

New Contributors

Full Changelog: nodejs/undici@v8.9.0...v8.10.0

v8.9.0

⚠️ Security fixes

High severity

  • GHSA-4cwx-7wf7-3272: malformed qualified private Cache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash. The cache parser now treats empty qualified directives conservatively and safely handles mixed qualified and unqualified directives. Fixed by 4fe5bc5f with regression coverage in 9f09b49a.

Medium severity

  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 7d3cf924.
  • GHSA-jr45-8vmc-qm54: optional whitespace around = in qualified no-cache and private directives could bypass shared-cache restrictions and disclose authenticated data across users. Cache-Control parsing now normalizes these forms and applies conservative cache decisions. Fixed by c601fff1.
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by e11a68ed, with corrected fixtures in 2b3f7493.
  • GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by 10d93fc3.

Additional hardening

... (truncated)

Commits
  • c8d80e6 Bumped v8.10.0 (#5644)
  • 66923b4 fix: preserve DNS origin hostname on sockets (#5577)
  • 3926499 fix: retry refused HTTP/2 streams (#5598)
  • 73d6e9e fix(h2): detach upgrade close handler after GOAWAY (#5641)
  • b111adb fix(mock): emit request body lifecycle hooks (#5367)
  • ae4a3e3 build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 (#5636)
  • ec3fbf1 build(deps): bump github/codeql-action/init from 4.36.2 to 4.37.3 (#5634)
  • 2151720 build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 (#5633)
  • b96a116 fix(interceptors): allow interceptors without opts.origin (#5628)
  • a18ef2d fix(mock): non-string path matchers under ignoreTrailingSlash, and DataView r...
  • 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)

Bumps [undici](https://github.com/nodejs/undici) from 8.5.0 to 8.10.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v8.5.0...v8.10.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 8.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 15, 2026

@helebest helebest left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Dependabot review — undici 8.5.0 → 8.10.0

1. Code review

  • Consistency: Diff matches the PR description exactly — package.json and package-lock.json only, undici ^8.5.0^8.10.0 (+5/-5, 2 files). No unrelated changes.
  • Correctness/Effectiveness: Stays within the ^8 major range (semver-compatible). engines.node remains >=22.19.0, satisfied by the repo's Node 22 toolchain. undici is used server-side only (outbound instrumentation in server/agent/instrumentation.ts and the HTTPS_PROXY ProxyAgent path in tools.ts); the 8.6→8.10 changes are bug fixes plus the 8.9.0 security hardening, with no breaking API changes affecting our usage.
  • Security: This bump is security-positive. It pulls in the undici 8.9.0 advisory fixes, including GHSA-4cwx-7wf7-3272 (CVE-2026-13697, High) — malformed Cache-Control directive information disclosure / DoS — which the container scan previously flagged on main. Confirmed on this PR's head: the trivy report no longer lists undici.
  • Conventions / test coverage: Pure dependency bump; no application code paths added, so no new test cases are warranted.

2. Regression verification

The required Verify (typecheck + coverage + build + e2e) job — which runs the full npm run verify gate — is green on this head, along with CodeQL, Analyze, Secret scan, and Gate integrity.

3. CI status

All required checks pass. The Container scan (trivy) and Dependency audit (prod, high+) jobs remain red, but this is pre-existing base-branch debt unrelated to this PR (tar CVE-2026-59873/59874, ip-address CVE-2026-69192, js-yaml CVE-2026-59869, and the googleapis/uuid audit chain). These are advisory (non-required) checks — consistent with prior Dependabot merges into main — and this PR strictly reduces the trivy finding set by removing the undici entry.

Decision: Approving and squash-merging.


Generated by Claude Code

Copy link
Copy Markdown
Contributor

Automated review — ✅ approved

Step 1 · Code review

  • Consistency: description matches the diff exactly — undici 8.5.0 → 8.10.0, touching only package.json and package-lock.json. No source changes.
  • Correctness: minor-version bump within the same major (^8); the pinned engines.node >=22.19.0 is already satisfied by the repo's Node 24 CI. undici is used server-side (sidecar outbound HTTP / instrumentation); no API surface used by this repo changed in the 8.5→8.10 range.
  • Security — this bump is valuable: it clears the HIGH-severity undici advisory currently flagged by both the Dependency audit and Container scan (trivy) jobs — CVE-2026-13697 / GHSA-8xcm-r25x-g524 (information disclosure + DoS via malformed Cache-Control directives), fixed in 8.9.0. This moves the security baseline in the right direction.
  • Test coverage: dependency-only change; no new functional code, so no new tests are warranted. Existing server/e2e suites exercise the outbound HTTP paths.

Step 2 · Regression verification — the required Verify (typecheck + coverage + build + e2e) job is green on this PR head (run of 2026-08-15). Gate integrity, Secret scan (gitleaks), and CodeQL are also green.

The Dependency audit and Container scan (trivy) jobs remain red, but that is the pre-existing main baseline from other transitive/base-image CVEs (js-yaml, fast-uri, ip-address, brace-expansion, tar via sqlite3, etc.). They are non-required checks and this PR does not worsen them — it reduces them.

Step 3 · CI — all required checks terminal and green.

Decision: squash-merging.


Generated by Claude Code

@helebest
helebest merged commit 981cb5d into main Aug 15, 2026
10 of 12 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/undici-8.10.0 branch August 15, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant