chore(deps): fix all high-severity Dependabot alerts (vite, rollup, undici, flatted)#414
Closed
timdittler wants to merge 1 commit into
Closed
chore(deps): fix all high-severity Dependabot alerts (vite, rollup, undici, flatted)#414timdittler wants to merge 1 commit into
timdittler wants to merge 1 commit into
Conversation
Resolves all 7 open high-severity Dependabot alerts via pnpm overrides, constrained to the current major line of each transitive dependency: - vite >=7.3.2 (GHSA-p9ff-h696-f583 arbitrary file read, GHSA-v2wj-q39q-566r server.fs.deny bypass) - rollup >=4.59.0 (GHSA-mw96-cpmx-2vgc arbitrary file write/path traversal) - undici >=6.24.0 (GHSA-vrm6-8vpv-qv8q, GHSA-v9p9-hfj2-hcw8, GHSA-f269-vfmq-vjvj WebSocket DoS/crash) - flatted >=3.4.2 (GHSA-rf6f-7fwh-wjgh prototype pollution) Lockfile regenerated and dist bundle rebuilt (undici ships in dist via @actions/github). Lint clean, all tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Not needed. Did close the vulnerabilities instead |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What
Resolves all 7 open high-severity Dependabot alerts in one PR by adding
pnpm.overridesthat force the patched version of each vulnerable transitive dependency. Ranges are capped to the current major line to avoid breaking-change major bumps.vite>=7.3.2 <8→ 7.3.5server.fs.denybypass)rollup>=4.59.0 <5→ 4.61.1undici>=6.24.0 <7→ 6.26.0flatted>=3.4.2 <4→ 3.4.2All are transitive deps (vite/rollup via
vitest, undici via@actions/github, flatted viaeslint).Why overrides
pnpm updatewas a no-op — parent packages keep the old versions satisfiable.pnpm.overridesis the clean single-PR way to force patched minimums across the tree. Ranges capped to current major so no behavioral major bumps slip in.Changes
package.json— addpnpm.overridespnpm-lock.yaml— regenerated (also refreshes other in-range transitives)dist/— rebuilt viancc;undiciships in the bundle through@actions/github, so the dist artifact must carry the fixVerification
pnpm run lint— cleanpnpm test— 10/10 passpnpm run package— dist rebuilt, bundledundiciis 6.26.0🤖 Generated with Claude Code