Multiparty
multiparty vulnerable to Denial of Service via unbounded part-header accumulation
multiparty is a Node.js library for parsing multipart/form-data request bodies. In versions from 2.1.0 up to but not including 4.3.1, the parser does not bound the amount of memory used while accumulating the headers of a single multipart part. An unauthenticated attacker can send a single request whose part carries a very large volume of header bytes, forcing the parser to buffer all of them and exhausting the process memory, which crashes the server. This is a denial of service with no confidentiality or integrity impact. The issue is fixed in multiparty 4.3.1, which caps the size of the accumulated part headers. Users should upgrade to multiparty 4.3.1 or later.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.1.0, < 4.3.1
Fixed in 4.3.1
Mitigation
Upgrade multiparty to 4.3.1 or later.
References
- Vendor advisory github.com/pillarjs/multiparty/security/adviso…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.