fix(agentex-ui): bump next 15.5.18 -> 15.5.21 (8 CVEs) - #375
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
…ext-15-5-21 # Conflicts: # agentex-ui/package-lock.json # agentex-ui/package.json
Summary
Bumps
nextfrom 15.5.18 → 15.5.21 inagentex-ui/to remediate 8 Trivy findings on thegolden/agentex-uicontainer image.nextis a direct dependency; the fix stays on the 15.x major (avoids the 16.2.11 major bump) to minimize API drift — it is a patch-level upgrade within 15.5.x.CVEs closed
Fixed by upstream Next.js v15.5.21 (advisory GHSA-m99w-x7hq-7vfj and related).
Changes
agentex-ui/package.json:nextpin15.5.18→15.5.21(exact-pin style preserved)agentex-ui/package-lock.json: re-locked vianpm install --package-lock-only. Changed closure is exactlynext,@next/env, and the 8@next/swc-*platform binaries — all15.5.18→15.5.21, all resolved from registry.npmjs.org. No other entries, no registry drift,lockfileVersion3 preserved.Verification
python -m bot.version_gate --ecosystem node-pkg --package next --candidate 15.5.21→15.5.21selected, zero known vulnerabilities.npm ci(immutable install, the CI gate) succeeds — package.json and package-lock.json agree.node node_modules/.bin/next --version→Next.js v15.5.21.npm auditno longer flagsnextfor any of the 8 CVEs above.Ticket
Resolves GFDVR-20748 (children: GFDVR-20749, GFDVR-20750, GFDVR-20751, GFDVR-20752, GFDVR-20753, GFDVR-20754, GFDVR-20755, GFDVR-20756).
🤖 Generated with Claude Code
Greptile Summary
Patches
nextfrom15.5.18→15.5.21(Maintenance LTS) inagentex-ui/to remediate 8 high/moderate CVEs published by the Next.js team on 2026-07-21. The fix is a minimal, contained patch upgrade — onlynext,@next/env, and the 8@next/swc-*platform binaries change in the lock file.agentex-ui/package.json: Exact pin updated from15.5.18to15.5.21; no other dependency changes.agentex-ui/package-lock.json: All Next.js-owned packages re-locked to15.5.21; 4 Linux SWC entries gain a newlibcfield (glibc/musl) — this is a metadata addition from the upstream package and improves platform binary selection by npm.v15.5.21release notes include a 9th advisory (CVE-2026-64642 / GHSA-6gpp-xcg3-4w24, High — Middleware/Proxy bypass with Turbopack + single locale); the version bump fixes all 9 regardless.Confidence Score: 5/5
Safe to merge — a narrow, well-scoped patch that upgrades only the Next.js package family to close confirmed security advisories, with no other dependency changes.
The change touches only
next,@next/env, and the 8@next/swc-*optional platform binaries — all moving from 15.5.18 to 15.5.21. The lock file is consistent, the integrity hashes match the npm registry, and the upstream release is the official Maintenance LTS security patch for these CVEs. The newlibcmetadata fields on 4 Linux SWC entries are a benign addition introduced by the upstream package.Files Needing Attention: No files require special attention.
Important Files Changed
nextbumped from15.5.18to15.5.21to address confirmed CVEsnext,@next/env, and all 8@next/swc-*platform binaries updated from15.5.18to15.5.21; 4 Linux SWC entries gained alibcfield (new metadata in 15.5.21) — no other packages touched,lockfileVersion3 preservedFlowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A["package.json\nnext: 15.5.18 to 15.5.21"] --> B["npm install --package-lock-only"] B --> C["package-lock.json updated"] C --> D["next 15.5.21"] C --> E["@next/env 15.5.21"] C --> F["@next/swc-darwin-arm64 15.5.21"] C --> G["@next/swc-darwin-x64 15.5.21"] C --> H["@next/swc-linux-arm64-gnu 15.5.21 + libc glibc"] C --> I["@next/swc-linux-arm64-musl 15.5.21 + libc musl"] C --> J["@next/swc-linux-x64-gnu 15.5.21 + libc glibc"] C --> K["@next/swc-linux-x64-musl 15.5.21 + libc musl"] C --> L["@next/swc-win32-arm64-msvc 15.5.21"] C --> M["@next/swc-win32-x64-msvc 15.5.21"] D --> N["Fixes 9 CVEs: High 64641 64642 64645 64649\nModerate 64643 64644 64646 64647 64648"]Reviews (3): Last reviewed commit: "Merge branch 'main' into prodsec/gfdvr-2..." | Re-trigger Greptile