PT-2026-83367 · Npm · Multer
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
multer versions prior to 2.3.0
Description
A denial of service issue exists in the middleware used for handling multipart/form-data in Node.js. A remote attacker can block the event loop by sending a multipart request containing two specially crafted text field names. The first field uses a large numeric array index to allocate a maximum-length sparse array, and a second field with a non-numeric key triggers a full-length synchronous iteration within the append-field dependency, preventing the process from handling other requests.
Recommendations
Upgrade to version 2.3.0 and configure the
limits.fieldArrayIndexLimit option to the maximum array index required by the application.Exploit
Fix
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Multer