Repository navigation
fix(deps): pin body-parser compressed-body DoS patch - #43
Merged
Merged
Conversation
Pins the express transitive body-parser to exactly 2.4.0, addressing GHSA-27r3-jxmh-p828 (high). Claude-Session: https://claude.ai/code/session_01NrbT7UzDQzESHKsvnJAgps
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Next included review available in 59 minutes. View limit details
Comment |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Advisory chain
Pins the
express→body-parsertransitive to exactly2.4.0(was2.3.0), fixing GHSA-27r3-jxmh-p828 (high): DoS via trailing bytes after a compressed request body. Reachable here: the public/dataand/issueforms useexpress.json/express.urlencodedwith defaultinflate: true.Vetting (early adoption — published 2026-10-22, inside the 7-day cooldown)
expressjs/body-parser.package.json) matches tagv2.4.0(b4744d7) byte-for-byte.lib/diff vs2.3.0only reorders charset validation, destroys/unpipes the decompression stream after reading, and adds optional zstd — no new network, exec, or obfuscated code.qs 6.16.1(2026-10-14),content-type 2.1.0(2026-08-13),iconv-lite 0.7.3(2026-07-03) — all past cooldown.Verification
npm ci --ignore-scripts && npm test: 11/11 pass.npm audit --omit=devno longer reportsbody-parser. Remaining standalone advisories are fixed in sibling PRs and combined in fix(web): share report limits and surface submission errors #38, whoseaudit:prodCI gate is the regression check.Integration
Merged into #38 alongside #39/#40 so #38's merge commit lands every advisory fix together.
https://claude.ai/code/session_01NrbT7UzDQzESHKsvnJAgps
Summary by cubic
Pins the
express→body-parsertransitive dependency to exactly2.4.0viapackage.jsonoverrides, patching GHSA-27r3-jxmh-p828 (high), a DoS via trailing bytes after a compressed request body. The vulnerability was reachable from the public/dataand/issueforms, which parse request bodies with defaultinflate: true.package-lock.jsonwith matching transitive bumps forcontent-type,iconv-lite, andqs.npm audit --omit=devno longer reports thebody-parseradvisory.Written for commit 57399ab. Summary will update on new commits.