HIGH7.5
GHSA-27c6-mcxv-x3fh
Unlimited consumption of resources in @fastify/multipart
Quick fix
GHSA-27c6-mcxv-x3fh — @fastify/multipart: upgrade to the fixed version with the command below.
npm install @fastify/multipart@8.3.1Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/fastify/fastify-multipart/security/advisories/GHSA-27c6-mcxv-x3fh[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-24033[ADVISORY]
- https://github.com/fastify/fastify-multipart/issues/546[WEB]
- https://github.com/fastify/fastify-multipart/pull/567[WEB]
- https://github.com/fastify/fastify-multipart[PACKAGE]