multer is vulnerable to Denial of Service (DoS)
75
High Risk
Multer's disk storage engine writes uploaded files through a write stream. When a disk-backed upload is aborted or truncated before the stream finishes, the engine removes the visible file but leaves the underlying write file descriptor open. Repeated aborted or malformed multipart uploads each leak a descriptor and retain disk blocks until the process exits, exhausting resources and causing a denial of service. The fix destroys the destination write stream on abnormal source termination and defers cleanup until the stream has closed.
You are affected if you are using a version that falls within the vulnerable range and your application uses multer's disk storage engine.
multer is vulnerable to Denial of Service (DoS) in versions 2.2.0 - 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.