Repository navigation
Update body-parser to fix compressed request denial of service - #6083
Merged
knolleary merged 2 commits intoNov 13, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member
|
Thanks for this @bitshape Both this and the npm update were scheduled for the next maintenance release coming in the next few days. Are you able to sign the CLA so we can accept your contributions? If not, we'll be updating these dependencies ourselves. |
Contributor
Author
|
@knolleary CLA signed |
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.
Proposed changes
Update the pinned
body-parserdependency from 1.20.8 to 1.20.9 in the root package, editor API and core nodes. This fixes CVE-2026-111181 / GHSA-27r3-jxmh-p828, where trailing bytes after a compressed request body can cause an uncaught decompressor error and terminate the process.Both the editor API and HTTP In nodes enable body inflation through the parser's default options. The patch keeps the existing body-parser 1.x API and leaves parser configuration unchanged. All three pins are updated together to satisfy the repository dependency consistency check.
Validation
Z_DATA_ERROR, exit 1); both pass with 1.20.9. The delayed deflate case also passes after the update.npm test: build, dependency consistency and lint pass; 3,115 tests pass, 58 are pending, and one filesystem-watch test fails (should watch a sub directory in a directory to be changed). The same watch test fails with the original body-parser 1.20.8 as well (4 passing / 1 failing, followed by an ENOENT from its delayed callback).npm ls body-parser --all: all installed copies resolve to 1.20.9.Checklist
npm run testto verify the unit tests pass. (Run; one pre-existing local filesystem-watch failure, detailed above.)This patch and PR description were prepared with OpenAI Codex. Codex identified the dependency update, made the three manifest changes, ran the local regression checks and test suites, and analyzed the results reported above.