CVE-2025-24033 Details
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`.
A vulnerability exists in the @fastify/multipart plugin, specifically in versions prior to 8.3.1 and 9.0.3. The issue arises in the 'saveRequestFiles' function, which fails to delete temporary files when a user cancels a request. This can lead to an unlimited consumption of resources. The vulnerability can be reproduced by uploading a large file and then canceling the request, after which the file remains undeleted. The problem is exacerbated when the 'saveRequestFiles' function is called, as it does not account for aborted requests.
Users can upgrade to @fastify/multipart versions 8.3.1 or 9.0.3, where this issue is fixed. Alternatively, do not use the 'saveRequestFiles' function.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 23, 2025CISA-ADP
Assessed Jan 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/fastify/fastify-multipart/issues/546 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/fastify/fastify-multipart/pull/567 | [email protected] | Issue TrackingVendor |
| https://github.com/fastify/fastify-multipart/security/advisories/GHSA-27c6-mcxv-x3fh | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @fastify/multipart | <= 8.3.0 (semver) >= 9.0.0, < 9.0.3 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 23, 2025 | New CVE Received | [email protected] |
Volerion