Skip to content

Bump undici to 7.24.4 to fix npm audit vulnerabilities#12927

Merged
penalosa merged 2 commits intomainfrom
penalosa/dep-size
Mar 16, 2026
Merged

Bump undici to 7.24.4 to fix npm audit vulnerabilities#12927
penalosa merged 2 commits intomainfrom
penalosa/dep-size

Conversation

@penalosa
Copy link
Contributor

@penalosa penalosa commented Mar 16, 2026

Fixes #12912.

Bumps undici from 7.18.2 to 7.24.4 and undici-types from 7.18.2 to 7.24.4 in the pnpm catalog. This resolves all 6 CVEs reported by npm audit:

All APIs used by miniflare and wrangler (including Dispatcher subclassing, deep path type imports from undici/types/*, and MockAgent.isMockActive) are unchanged in 7.24.4.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows: covered by existing tests
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: no user-facing API changes

Open with Devin

@penalosa penalosa requested a review from a team as a code owner March 16, 2026 17:17
@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2026

🦋 Changeset detected

Latest commit: cdb8efa

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@workers-devprod
Copy link
Contributor

workers-devprod commented Mar 16, 2026

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

⚠️ Issues found

.changeset/bump-undici.md

The description "Bump undici from 7.18.2 to 7.24.4" is too thin. The .changeset/README.md explicitly lists "update dependency" as a bad example and asks: "Which one? Why? Any user impact?"

The changeset names the dependency and versions, but omits:

  • Why undici is being bumped (security fix? bug fix? required for a feature?)
  • Any user-visible impact (e.g., "fixes a fetch hang", "resolves a CVE", "no user-facing changes")

Suggested fix: Add a brief sentence explaining the reason, for example:

---
"wrangler": patch
"miniflare": patch
---

Bump undici from 7.18.2 to 7.24.4

This updates the bundled undici HTTP client to pick up bug fixes and security patches released upstream. No user-facing behavior changes are expected.

The patch version type is appropriate for a dependency update of this nature.

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Mar 16, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 16, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@12927

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@12927

miniflare

npm i https://pkg.pr.new/miniflare@12927

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@12927

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@12927

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@12927

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@12927

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@12927

wrangler

npm i https://pkg.pr.new/wrangler@12927

commit: cdb8efa

@penalosa penalosa merged commit c9b3184 into main Mar 16, 2026
38 of 40 checks passed
@penalosa penalosa deleted the penalosa/dep-size branch March 16, 2026 18:03
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[wrangler] 4.73.0 - npm audit reports high security vulnerabilities

3 participants