CVE-2025-24033: Unlimited consumption of resources in @fastify/multipart
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.
Published Jan 23, 2025
Affected packages
@fastify/multipart
- Ecosystem
- npm
- Affected
- <= 8.3.0
- Fixed in
- 8.3.1
- Check
npm ls @fastify/multipart
@fastify/multipart
- Ecosystem
- npm
- Affected
- >= 9.0.0, < 9.0.3
- Fixed in
- 9.0.3
- Check
npm ls @fastify/multipart
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
