fix: patch high-severity transitive deps (js-yaml, rollup, sharp, tmp)#3079
fix: patch high-severity transitive deps (js-yaml, rollup, sharp, tmp)#3079sammdec wants to merge 1 commit into
Conversation
Add pnpm overrides to pull patched versions of transitive dependencies with high-severity advisories: - js-yaml 4.x -> 4.3.0 (quadratic CPU via YAML merge-key chains) - rollup -> 2.80.0 (arbitrary file write via path traversal) - sharp -> 0.35.3 (inherited libvips CVEs) - tmp -> 0.2.7 (path traversal via unsanitized prefix/postfix) The js-yaml override is scoped to the 4.x line so the unaffected 3.x copy is left in place. fast-uri (>=3.1.4), ws (>=8.21.0) and next (>=15.5.21) also have high-severity fixes, but their only patched releases are <7 days old and are held back by the repo's minimumReleaseAge quarantine. They are intentionally deferred until those versions age out rather than weakening the supply-chain quarantine. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Mjolnir Security Review
2 PRs reviewed |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
📦 Next.js Bundle Analysis for aave-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster. Any third party scripts you have added directly to your app using the If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! |
Summary
Adds
pnpmoverrides to pull patched versions of transitive dependencies flagged with high-severity advisories. All four ship aspnpm.overridessince these are indirect deps.The
js-yamloverride is scoped to the>=4.0.0 <4.3.0range so the unaffected 3.x copy is left untouched.pnpm auditconfirms these four advisories are cleared. No source changes — transitive bumps only.Deferred (not in this PR)
These also have high-severity fixes, but their only patched releases are <7 days old and are held back by the repo's
minimumReleaseAge(7-day) supply-chain quarantine. Rather than weaken the quarantine viaminimumReleaseAgeExclude, they're deferred until the versions age out:Moderate/low advisories are intentionally out of scope.
Test plan
pnpm installsucceeds; lockfile regeneratedpnpm auditno longer reports the four patched advisories🤖 Generated with Claude Code