{"id":"CVE-2025-24033","aliases":["CVE-2025-24033","GHSA-27c6-mcxv-x3fh"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/multipart vulnerable to unlimited consumption of resources","summary":"@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`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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`.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"@fastify/multipart es un complemento de Fastify para analizar el tipo de contenido multipart. Antes de las versiones 8.3.1 y 9.0.3, la función `saveRequestFiles` no elimina los archivos temporales cargados cuando el usuario cancela la solicitud. El problema se solucionó en las versiones 8.3.1 y 9.0.3. Como workaround, no use `saveRequestFiles`.","source":"nvd"}],"published":"2025-01-23T17:40:56.228Z","modified":"2026-06-17T08:57:55.723Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 8.3.1","status":"affected"},{"version":">= 9.0.0, < 9.0.3","status":"affected"}],"vendor":"fastify","product":"fastify-multipart","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.3.1"}],"ecosystem":"npm","package":"@fastify/multipart","purl":"pkg:npm/%40fastify/multipart","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.0.3"}],"ecosystem":"npm","package":"@fastify/multipart","purl":"pkg:npm/%40fastify/multipart","source":"ghsa"}],"references":[{"url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-27c6-mcxv-x3fh","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/issues/546","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-multipart/pull/567","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24033","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fastify-multipart","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-01-23T18:54:50.184Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24033","url":"https://www.cve.org/CVERecord?id=CVE-2025-24033","licence":"CVE Terms of Use","modified":"2025-02-12T20:41:29.689Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-27c6-mcxv-x3fh","url":"https://github.com/advisories/GHSA-27c6-mcxv-x3fh","licence":"CC-BY-4.0","modified":"2025-01-23T23:17:17.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24033","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24033","licence":"Public domain","modified":"2026-06-17T08:57:55.723Z"}],"updatedAt":"2026-11-25T22:58:53.548Z","epss":{"score":0.00602,"percentile":0.50176,"date":"2026-12-01T12:00:22.000Z"}}