GHSA-27c6-mcxv-x3fh
Unlimited consumption of resources in @fastify/multipart
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @fastify/multipart | < 8.3.1 | 8.3.1 |
| npm | @fastify/multipart | >= 9.0.0, < 9.0.3 | 9.0.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
The `saveRequestFiles` function does not delete the uploaded temporary files when user cancels the request.
### Patches
Fixed in version 8.3.1 and 9.0.3
### Workarounds
Do not use `saveRequestFiles`.
### References
This was identified in https://github.com/fastify/fastify-multipart/issues/546 and fixed in https://github.com/fastify/fastify-multipart/pull/567.
References
External links from the advisory. They lead to third-party sites.