Patch undici CVEs in bundled Action runtime (v1.0.2)#35
Merged
Conversation
…(v1.0.2) Upgrade undici from 5.29.0 to 6.25.0 via root-level npm overrides. Resolves: - GHSA-vrm6-8vpv-qv8q (HIGH CVSS 7.5: WebSocket memory exhaustion) - GHSA-v9p9-hfj2-hcw8 (HIGH CVSS 7.5: WebSocket unhandled exception) - GHSA-g9mf-h72j-4rw9 (MODERATE CVSS 5.9: Fetch decompression chain) - GHSA-2mjp-6q6p-2qxm (MODERATE CVSS 6.5: HTTP request/response smuggling) - GHSA-4992-7rv2-5pvq (MODERATE CVSS 4.6: CRLF injection via upgrade option) undici was a transitive dep via @actions/github@6.0.1 -> @actions/http-client@2.2.3. Pinned at the root via package.json "overrides" since the 5.x line has no fixed release (5.29.0 is the published "latest 5.x" but remains vulnerable). All advisory fixed-version ranges intersect at undici >= 6.24.0. Also bumped packages/action/package.json version 0.0.2 -> 1.0.2 to align the internal package version with the public Marketplace tag for v1.0.2. Rebuilt dist/index.cjs from src with the patched undici resolution. Action Marketplace consumers should bump to @v1.0.2 or stay on @v1 (after the major tag is force-moved post-merge). npm audit (action workspace): 0 undici findings post-patch. Tracked workspace tests: 229/229 pass (action: 11/11, core/cli/vscode unchanged). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Patches 5 CVEs in
packages/action/dist/index.cjsby upgrading bundledundicifrom5.29.0→6.25.0via a root-leveloverridesfield.Resolved advisories:
undiciis transitive via@actions/github@6.0.1→@actions/http-client@2.2.3. The 5.x line has no fix release, so the only path is the 6.x upgrade viaoverrides.Test plan
bun test→ 229/229 workspace tests pass post-upgrade (zero regressions from the undici 5→6 surface change)npm audit --workspace=packages/actionclean for undicidist/index.cjsrebuilt + smoke-tested (node -e "require('./packages/action/dist/index.cjs')"parses + loads + initializes undici 6.x)package.jsonversion bumped0.0.2→1.0.2(internal version now aligns with Marketplace tag)Release sequence after merge
maingit tag v1.0.2 <merge-sha>git tag -f v1 <merge-sha>(Marketplace consumers on@v1automatically pick up the patch)git push origin v1.0.2thengit push origin v1 --forcev1.0.2with the CVE callout above🤖 Generated with Claude Code