Unlimited consumption of resources in @fastify/multipart
High severity
GitHub Reviewed
Published
Jan 23, 2025
in
fastify/fastify-multipart
•
Updated Jan 23, 2025
Package
Affected versions
<= 8.3.0
>= 9.0.0, < 9.0.3
Patched versions
8.3.1
9.0.3
Description
Published to the GitHub Advisory Database
Jan 23, 2025
Reviewed
Jan 23, 2025
Published by the National Vulnerability Database
Jan 23, 2025
Last updated
Jan 23, 2025
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 fastify/fastify-multipart#546 and fixed in fastify/fastify-multipart#567.
References