GitHub Advisory Database
GHSA-3p4h-7m6x-2hcm
Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads
Details
Impact
A vulnerability in Multer allows an attacker to trigger a Denial of Service (DoS) by aborting or sending malformed multipart uploads, causing orphaned partial files to accumulate on disk when using diskStorage.
Patches
Users should upgrade to 2.2.0, 3.0.0-alpha.2 or higher
Workarounds
None
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | multer | From 2.0.0-alpha.1 before 2.2.0 (fixed in 2.2.0) |
| npm | multer | From 3.0.0-alpha.1 before 3.0.0-alpha.2 (fixed in 3.0.0-alpha.2) |