Repository navigation
build(deps): update body-parser to 2.4.0 for GHSA-27r3-jxmh-p828 - #295
Conversation
Express 5.3.0 accepts body-parser ^2.3.0, so this is a lockfile-only update. body-parser 2.4.0's floors also move iconv-lite to 0.7.3 and qs to 6.16.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Lore is reviewing this PR — 75239f39-0ba5-45aa-b8f5-df4241387507. Submit a review that requests changes to have Lore push a fix for it. Comment |
🔍 Lore Spec ImpactExamined 1 changed file(s): 0 had graph data (no coupling found), 1 had none — no ingested test run covers them, so this check cannot speak for them. Deterministic · graph @ |
There was a problem hiding this comment.
Lore review — Approved
Clean lockfile update bumping body-parser to 2.4.0 to resolve GHSA-27r3-jxmh-p828.
Must fix (0) · Consider (0) · Nits (0)
Reviewed by gemini-4-argon
Submit a review that requests changes to have Lore push a fix for it. Comment @lore review to re-run the review.
Posted by floor, visit 8a943913-54e2-4173-8186-f5e188e4f98d.
Why
The build-chain audit gate fails on
mainand on every open PR. GHSA-27r3-jxmh-p828, published on 23 October, rates body-parser 2.0.0 to 2.3.0 high: a compressed request body with trailing bytes can exhaust the server. The engine reaches body-parser through express, which parses every HTTP request bodycreateAppreceives. The patched release is 2.4.0.What Changed
package-lock.jsononly. Express 5.3.0 asks forbody-parser ^2.3.0, sonpm update body-parsermoves it to 2.4.0. body-parser 2.4.0 raises its own floors, which moves iconv-lite from 0.7.2 to 0.7.3 and qs from 6.16.0 to 6.16.1. Nothing else changes, andpackage.jsonis untouched.A consumer's own lockfile decides which body-parser it runs, so this does not reach an installed engine. A consumer clears the advisory the same way, with
npm update body-parser.Alternatives Considered
Recording an acceptance in
.github/audit-acknowledgements.json. A patched version exists inside express's range, so there is nothing to accept.npm audit fixwould also touch the moderate and low findings, which the gate does not hold the build to.ADRs & Architecture
No change.
Testing
npm run check:auditnow reports clean at high and above.npm testpasses all 1021 tests on the updated lockfile.Related Issues
Unblocks the release PR #294, whose build chain failed on this advisory.
🤖 Generated with Claude Code