@fastify/multipart is a multipart form-data parser for Fastify. In versions from 5.3.0 up to but not including 10.1.1, when the busboy fileSize limit truncates a file part, the plugin clears its internal current-file reference while the underlying stream is still open. If the client then aborts the connection before sending the terminating boundary, the abort cleanup finds no stream to destroy, so saveRequestFiles() never settles, the request handler hangs, and the temporary file already written to disk is never cleaned up. An unauthenticated client can repeat this to permanently leak temporary files and suspended handler executions, leading to disk and event-loop exhaustion. The issue is fixed in @fastify/multipart 10.1.1. Users should upgrade to 10.1.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HFastify Multipart
APPFastify5.3.0 – 10.1.1 (excl.)
Related vulnerabilities
@fastify/multipart is a multipart form-data parser for Fastify. In versions from 3.0.0 up to but not including...
@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to versions 7.4.1 and 6.0.1,...
This affects the package fastify-multipart before 5.3.1. By providing a name=constructor property it is still ...
Prototype pollution vulnerability in fastify-multipart < 1.0.5 allows an attacker to crash fastify application...
Fałszowanie kontekstu Lambda w @fastify/aws-lambda — pełny bypass autoryzacji