Repository navigation
chore(deps): update dependency multer to v2.5.0 [security] - #1190
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
This PR contains the following updates:
2.4.0→2.5.0multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown
CVE-2026-113872 / GHSA-q7qp-rjg7-q26m
More information
Details
Impact
When
multeris configured with an asynchronousfileFilter, a single request can crash the Node.js process. If a request is aborted (for example when one file is rejected) while another file's asyncfileFilteris still pending, the pending callback later resumes a parsing stream that multer has already torn down. busboy then emits an error on a stream that no longer has an error listener, which Node raises as an unhandled'error'event, and the process exits. A single unauthenticated request is enough, so any application usingmulterwith an asynchronousfileFilteris affected, regardless of storage engine. Uploads using a synchronousfileFilterare not affected.Patches
Users should upgrade to
multer2.5.0or later.Workarounds
Use a synchronous
fileFilter.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
expressjs/multer (multer)
v2.5.0Compare Source
limits.fieldSizebytes, soLIMIT_FIELD_VALUEfires only when the limit is exceeded. This also covers the defaultfieldSizeof 1MB, so a1048576byte value is no longer rejected when you set no limits. If you setfieldSizeone higher to work around this, you can drop the extra one (#1481)LIMIT_FILE_SIZEabort;DiskStorageno longer tries to unlink an undefined path (#1489)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.