@fastify/multipart vulnerable to DoS due to unlimited number of parts
CVE-2023-25576
7.5HIGH
What is CVE-2023-25576?
@fastify/multipart, a plugin for parsing multipart content in Fastify, is susceptible to Denial of Service due to the handling of multipart data. Versions prior to 7.4.1 and 6.0.1 allow for the potential acceptance of an unlimited number of multipart fields, files, and even empty parts. This vulnerability can lead to resource exhaustion and system unavailability. Users are encouraged to upgrade to fixed versions (v7.4.1 for Fastify v4.x and v6.0.1 for Fastify v3.x) as there are no known workarounds.
Affected Version(s)
fastify-multipart < 6.0.1 < 6.0.1
fastify-multipart >= 7.0.0, < 7.4.1 < 7.0.0, 7.4.1
