Repository navigation
fix(deps): Next.js 16.3.8 for the next/og RCE, plus patched source-map-js and brace-expansion - #77
Conversation
…p-js and brace-expansion next >= 16.2.0 < 16.3.6 has remote code execution in next/og ImageResponse (GHSA-vcvr-r3jv-pc5j); the share cards are rendered with it and the token card draws creator-chosen names and symbols. Also lifts source-map-js to 1.2.2 (GHSA-68fv-2mgg-jv7q) and brace-expansion to 1.1.21 / 5.0.12 (GHSA-q2hr-2g5m-vwhr) inside their existing ranges.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour. 📝 WalkthroughWalkthroughThe app package manifest updates the ChangesNext.js Dependency Updates
Priority: ⬆️ High Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The lockfile selects Next.js 16.3.8 and the updated transitive dependency versions, with no introduced user-facing or deployment risk evident. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Security update for the open Dependabot alerts on main.
next16.3.4: remote code execution innext/ogImageResponsesource-map-js1.2.1: event-loop denial of servicebrace-expansion1.1.18 and 5.0.9: CPU denial of serviceThe Next.js one is the urgent part: the site's share cards (
app/opengraph-image.tsx,app/t/[chain]/[token]/opengraph-image.tsx) are rendered withImageResponse, and the token card draws creator-chosen names and symbols.What changes:
nextandeslint-config-next16.3.4 → 16.3.8 (with Next's platform binaries);source-map-jsandbrace-expansionmove to their patched releases inside the ranges their dependents already allow. Lockfile only for those three; nothing else moves.Checks: lint (0 errors),
tsc --noEmit,npm test(844 pass, 0 fail, 10 skipped),next build. Onnext start, the home and token share cards both render (200, image/png).Notes
npm auditstill reports one dev-only advisory:braces≤ 3.0.3 (GHSA-vfj7-8cjw-p6xm) undereslint-config-next→fast-glob→micromatch. It only runs in lint, there is no patchedbracesrelease yet, and npm's suggested fix is a downgrade toeslint-config-next14, so it is left as is.d3-forceto the samepackage.jsonand lockfile; whichever merges second needs its lockfile regenerated.Summary by CodeRabbit