{"id":"CVE-2025-24033","aliases":["EUVD-2025-0118","GHSA-27c6-mcxv-x3fh"],"status":"published","title":"@fastify/multipart vulnerable to unlimited consumption of resources","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`.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00602,"percentile":0.49312,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-770"],"published":"2025-01-23T17:40:56Z","modified":"2026-10-28T02:31:13Z","fixes":[{"ecosystem":"npm","package":"@fastify/multipart","fixed_in":["8.3.1","9.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@fastify/multipart","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"8.3.0"},{"fixed":"8.3.1"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@fastify/multipart","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"9.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@fastify/multipart","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.3.1"}]}]},{"source":"osv","ecosystem":"npm","package":"@fastify/multipart","ranges":[{"type":"SEMVER","events":[{"introduced":"9.0.0"},{"fixed":"9.0.3"}]}]}],"products":[{"vendor":"fastify","product":"fastify-multipart"}],"references":[{"url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-27c6-mcxv-x3fh","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/fastify/fastify-multipart/issues/546","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/fastify/fastify-multipart/pull/567","tags":["x_refsource_MISC","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24033","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-27c6-mcxv-x3fh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24033.json","tags":["advisory"]},{"url":"https://github.com/fastify/fastify-multipart","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-24033","title":"@fastify/multipart vulnerable to unlimited consumption of resources","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`.","status":"published","published":"2025-01-23T17:40:56.228Z","modified":"2025-02-12T20:41:29.689Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:32:43.770144Z"}],"euvd":[{"id":"EUVD-2025-0118","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`.","status":"published","published":"2025-01-23T17:40:56Z","modified":"2025-02-12T20:41:29Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:03:56.514594Z"}],"ghsa":[{"id":"GHSA-27c6-mcxv-x3fh","title":"Unlimited consumption of resources in @fastify/multipart","description":"### Impact\n\nThe `saveRequestFiles` function does not delete the uploaded temporary files when user cancels the request.\n\n### Patches\n\nFixed in version 8.3.1 and 9.0.3\n\n### Workarounds\n\nDo not use `saveRequestFiles`.\n\n### References\n\nThis was identified in https://github.com/fastify/fastify-multipart/issues/546 and fixed in https://github.com/fastify/fastify-multipart/pull/567.\n","status":"published","published":"2025-01-23T18:02:07Z","modified":"2025-01-23T23:17:18Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:38:28.945236Z"}],"nvd":[{"id":"CVE-2025-24033","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`.","status":"published","published":"2025-01-23T18:15:33.61Z","modified":"2026-06-17T08:57:55.723Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:10:49.483601Z"}],"osv":[{"id":"CVE-2025-24033","title":"@fastify/multipart vulnerable to unlimited consumption of resources","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`.","status":"published","published":"2025-01-23T17:40:56.228Z","modified":"2026-10-28T02:31:13.037076156Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T15:44:47.009967Z"},{"id":"GHSA-27c6-mcxv-x3fh","title":"Unlimited consumption of resources in @fastify/multipart","description":"### Impact\n\nThe `saveRequestFiles` function does not delete the uploaded temporary files when user cancels the request.\n\n### Patches\n\nFixed in version 8.3.1 and 9.0.3\n\n### Workarounds\n\nDo not use `saveRequestFiles`.\n\n### References\n\nThis was identified in https://github.com/fastify/fastify-multipart/issues/546 and fixed in https://github.com/fastify/fastify-multipart/pull/567.\n","status":"published","published":"2025-01-23T18:02:07Z","modified":"2025-01-23T23:17:17Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T15:46:33.956911Z"}]}}
