Asymmetric denial of service - ReDoS In node-multiparty
Description
multiparty vulnerable to Denial of Service via Uncaught Exception in filename* parameter parsing
Impact
[email protected] and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a Content-Disposition: filename*=utf-8'' header containing a malformed percent-encoding (e.g., %FF, %GG), the parser invokes decodeURI on the value without try/catch. The resulting URIError propagates as an uncaught exception and crashes the process. Any service accepting multipart uploads via multiparty is affected.
Patches
Users should upgrade to [email protected] or higher.
Workarounds
None.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 14 | 4.3.0-1 | ||
debian 11 | - | ||
debian 12 | - | ||
debian 13 | - | ||
npm | 4.3.0 |
Aliases
References