Description
multiparty@4.2.3 and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a field name that collides with an inherited Object.prototype property such as __proto__, constructor, or toString, the parser invokes .push() on the inherited prototype value rather than an array, throwing a TypeError that propagates as an uncaught exception and crashes the process. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: none. Upgrade to multiparty@4.3.0 or higher.
Problem types
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Product status
Any version
4.3.0 (semver)
Credits
Ser0n-ath
Sebastian Beltran
kq5y
Byambadalai Sumiya
Blake Embrey
Ulises Gascón
References
github.com/...iparty/security/advisories/GHSA-qxch-whhj-8956
cna.openjsf.org/security-advisories.html