@fastify/busboy vulnerable to Denial of Service via a skipped last part that fills its stream buffer
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @fastify/busboy | @fastify/busboy | unaffected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.730% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @fastify/busboy is a streaming parser for HTML form data, including multipart/form-data uploads, used by Fastify through @fastify/multipart. In versions from 1.0.0 before 3.2.7, when the final part of a multipart body is one the parser skips, such as a part with an invalid or missing Content-Disposition header or a part beyond a configured files, fields, or parts limit, and that part holds at least one stream buffer of data, the parser pauses the incoming write and never releases it because the closing delimiter has already been processed. The parser then emits neither a finish nor an error event, so the upload request never completes and stays pending even after the client disconnects. A single unauthenticated upload of about 67 KB is enough to leave a request hanging, and repeated requests can exhaust server resources, affecting any application that passes untrusted multipart/form-data to the parser directly or through @fastify/multipart. The issue is fixed in @fastify/busboy 3.2.7, and users should upgrade to 3.2.7 or later. There is no complete workaround, but setting Fastify's handlerTimeout option limits how long a stalled handler holds its resources. | |
| Title | @fastify/busboy vulnerable to Denial of Service via a skipped last part that fills its stream buffer | |
| Weaknesses | CWE-400 CWE-459 |
|
| References |
| |
| Metrics |
cvssV3_1
|
No data.