multer is vulnerable to Denial of Service (DoS)
75
High Risk
multer handles multipart/form-data and passes submitted field names to its append-field dependency, which expands bracket notation such as a[b][c] into nested objects. The parser applies no limit on nesting depth, so a single request with a field name containing tens of thousands of brackets forces allocation of deeply nested structures. This consumes excessive CPU and memory and can render the service unavailable without authentication. The fix adds a fieldNestingDepth limit option that rejects field names whose nesting exceeds the configured depth.
You are affected if you are using a version that falls within the vulnerable range.
multer is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 2.1.1.
Upgrade the multer library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant