CVE-2020-8136: Uncontrolled Resource Consumption in fastify-multipart
Summary
CVE-2020-8136: Uncontrolled Resource Consumption in fastify-multipart. Affects fastify-multipart versions < 1.0.5. Fixed in 1.0.5. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
fastify-multipart is an npm package that provides support for parsing multipart requests in fastify applications. It allows developers to handle file uploads and other form data in a convenient manner. However, versions prior to 1.0.5 are vulnerable to a prototype pollution vulnerability.
Vulnerability Detail
The vulnerability in fastify-multipart allows an attacker to crash fastify applications parsing multipart requests by sending a specially crafted request. This is due to uncontrolled resource consumption caused by prototype pollution. By exploiting this vulnerability, an attacker can disrupt the normal functioning of the application and potentially cause denial of service.
How To Fix
Latest published version: 5.4.0 as of 22 Oct 2026
npm install fastify-multipart@5.4.0
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.0.5
This is the first release that contains the fix.
npm install fastify-multipart@1.0.5
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to update to the latest version of fastify-multipart as soon as possible.
Conclusion
In conclusion, the vulnerability in fastify-multipart can be mitigated by updating to version 1.0.5 or later. It is important to promptly apply this fix to ensure the security and stability of fastify applications. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for fastify-multipart →
FAQ
fastify-multipart is an npm package that provides support for parsing multipart requests in fastify applications.
Prototype pollution is a vulnerability that occurs when an attacker can modify the prototype of an object, leading to unexpected behavior or security issues.
This vulnerability allows an attacker to crash fastify applications parsing multipart requests, potentially causing denial of service.
To fix this vulnerability, update fastify-multipart to version 1.0.5 or later.
There is no known workaround for this vulnerability. It is recommended to update to the latest version of fastify-multipart.
References
Related vulnerabilities
Recent vulnerabilities recorded for fastify-multipart.