Asymmetric denial of service In @fastify/multipart
Description
Denial of service due to unlimited number of parts
Impact
The multipart body parser accepts an unlimited number of file parts.
The multipart body parser accepts an unlimited number of field parts.
The multipart body parser accepts an unlimited number of empty parts as field parts.
Patches
This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x).
Workarounds
There are no known workaround.
References
Reported at https://hackerone.com/reports/1816195.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
npm | 6.0.1, 7.4.1 | ||
npm | - |
Aliases
1. 2. 3. 4. 5. 6.
References
1. 2. 3. 4. 5.