Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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