{"id":"GHSA-27c6-mcxv-x3fh","summary":"Unlimited consumption of resources in @fastify/multipart","details":"### 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","aliases":["CVE-2025-24033"],"modified":"2025-01-23T23:17:17Z","published":"2025-01-23T18:02:07Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-01-23T18:02:07Z","nvd_published_at":"2025-01-23T18:15:33Z","cwe_ids":["CWE-770"]},"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-27c6-mcxv-x3fh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24033"},{"type":"WEB","url":"https://github.com/fastify/fastify-multipart/issues/546"},{"type":"WEB","url":"https://github.com/fastify/fastify-multipart/pull/567"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify-multipart"}],"affected":[{"package":{"name":"@fastify/multipart","ecosystem":"npm","purl":"pkg:npm/%40fastify/multipart"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.3.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 8.3.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-27c6-mcxv-x3fh/GHSA-27c6-mcxv-x3fh.json"}},{"package":{"name":"@fastify/multipart","ecosystem":"npm","purl":"pkg:npm/%40fastify/multipart"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.0.0"},{"fixed":"9.0.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-27c6-mcxv-x3fh/GHSA-27c6-mcxv-x3fh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}