multer is vulnerable to Denial of Service (DoS)
75
High Risk
Multer parses multipart form field names that use bracket notation into arrays. A request containing two specially crafted text field names can push past a maximum-length sparse array in the append-field dependency, throwing an uncaught RangeError during field parsing. Because the error escapes the application's error handlers, the Node.js process terminates and the service becomes unavailable. The fix rejects invalid field names with an INVALID_FIELD_NAME error instead of crashing.
You are affected if your application uses multer to parse multipart/form-data requests whose field names come from untrusted input.
multer is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 2.2.0.
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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.