PT-2025-1271 · Fastify · Fastify-Multipart
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
@fastify/multipart versions prior to 8.3.1
@fastify/multipart versions prior to 9.0.3
Description
@fastify/multipart is a Fastify plugin used for parsing the multipart content-type. The
saveRequestFiles() function fails to delete uploaded temporary files if a user cancels the request. This improper resource management can be exploited by a remote attacker sending specially crafted requests to cause a denial of service.Recommendations
Update to version 8.3.1 or newer.
Update to version 9.0.3 or newer.
As a temporary workaround, avoid using the
saveRequestFiles() function.Exploit
Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Fastify-Multipart