CVE-2025-24033 @fastify/multipart vulnerable to unlimited consumption of resources
HighCVSS 7.5
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
@fastify/multipart is a Fastify plugin for parsing the multipart content-type. Prior to versions 8.3.1 and 9.0.3, the saveRequestFiles function does not delete the uploaded temporary files when user cancels the request. The issue is fixed in versions 8.3.1 and 9.0.3. As a workaround, do not use saveRequestFiles.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fastify @fastify/multipart(npm) | < 8.3.1; <= 8.3.0; >= 9.0.0, < 9.0.3 | 8.3.1, 9.0.3 | Fixed |
| fastify-multipart | = < 8.3.1; = >= 9.0.0, < 9.0.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fastify @fastify/multipart(npm) | <= 8.3.0 | No fix listed |
| fastify @fastify/multipart(npm) | >= 9.0.0, < 9.0.3 | 9.0.3 |
| fastify-multipart | = < 8.3.1 | No fix listed |
| fastify-multipart | = >= 9.0.0, < 9.0.3 | No fix listed |
| fastify @fastify/multipart(npm) | < 8.3.1 | 8.3.1 |
References
- https://github.com/fastify/fastify-multipart/security/advisories/GHSA-27c6-mcxv-x3fh vendor-advisory
- https://github.com/fastify/fastify-multipart/issues/546
- https://github.com/fastify/fastify-multipart/pull/567 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product