Repository navigation
fix: update fastify busboy for hardening - #1659
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the multipart parser dependency update and accompanying regression tests.
No open issues 🎉
What changed in this PR
Updates the multipart parser dependency to address the header-handling and parsing vulnerabilities reported in #1648.
Changes:
- Upgrades
@fastify/busboyfrom 3.1.1 to 3.2.4 in the lockfile. - Adds a scoped override requiring
@fastify/multipartto use Busboy^3.2.4. - Adds regression tests verifying that
__proto__andconstructorpart headers do not prevent uploads or alter file contents.
| File | Description |
|---|---|
src/storage/uploader.test.ts |
Tests multipart uploads with prototype-related part header names. |
package.json |
Adds the scoped Busboy dependency override. |
package-lock.json |
Pins Busboy 3.2.4 and updates the multipart dependency requirement. |
Review effort: Balanced
Signed-off-by: Ferhat Elmas <[email protected]>
ferhatelmas
force-pushed
the
ferhat/busboy
branch
from
November 4, 2026 11:54
c9d2c8d to
ea236b2
Compare
ferhatelmas
enabled auto-merge (squash)
November 4, 2026 11:54
Coverage Report for CI Build 41824729189Coverage remained the same at 87.175%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
TylerHillery
approved these changes
Nov 4, 2026
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.
What kind of change does this PR introduce?
Bug fix
What is the current behavior?
Certain part headers (
__proto__,constructor) throw.In certain cases, parsing is stalled.
Whitespace isn't handled correctly.
Garbage text after closing quote is kept.
What is the new behavior?
Issues are fixed in the upstream, bumping transitive dependency and adding an override to prevent accidental lock file generation.
Additional context
Fixes #1648
Legit file and field parsing don't change.