7.5High

CVE-2025-24033@fastify/multipart vulnerable to unlimited consumption of resources

fastify fastify-multipart Published: (1 year ago)

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`.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
fastify fastify-multipart < 8.3.1, >= 9.0.0, < 9.0.3

References and patches