@fastify/busboyに認証なしで接続が止まり、サービスを妨害される脆弱性
Summary
@fastify/busboyの1.0.0から3.2.5までには、ヘッダーが閉じられないまま届いたmultipartの要求で処理が止まり、サービス妨害(DoS)を受ける脆弱性があります。約100バイトの認証不要な要求で止まり、クライアントが切断しても処理が解放されないため、繰り返されると再起動まで資源が残り続けます。3.2.6で修正されているため、3.2.6以降に更新してください。すぐに更新できない場合は、Fastifyのハンドラーのタイムアウトを設定して、止まった処理を解放する回避策があります。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
@fastify/busboyの1.0.0から3.2.5までには、ヘッダーが閉じられないまま届いたmultipartの要求で処理が止まり、サービス妨害(DoS)を受ける脆弱性があります。約100バイトの認証不要な要求で止まり、クライアントが切断しても処理が解放されないため、繰り返されると再起動まで資源が残り続けます。3.2.6で修正されているため、3.2.6以降に更新してください。すぐに更新できない場合は、Fastifyのハンドラーのタイムアウトを設定して、止まった処理を解放する回避策があります。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| @fastify/busboy@fastify/busboy |
< 3.2.6→ 3.2.6 |
3.2.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-128835 node-undici No fixed version in this record
Original description The description as published by the source.
@fastify/busboy is a streaming parser for multipart form data used by Fastify. In versions 1.0.0 through 3.2.5, a multipart part whose header block is never terminated before the next boundary is counted by the vendored Dicer parser as an open part that never ends, so the parser emits neither a finish nor an error event and the request hangs. A single unauthenticated request of roughly one hundred bytes triggers the stall, and through @fastify/multipart the hung handler is not released when the client disconnects, so repeated requests leak handlers and whatever resources they hold, such as files, database connections and concurrency slots, until the process is restarted. The same parser is reached by the formData methods of undici versions 5.25.3 through 6.7.0. The issue is fixed in @fastify/busboy 3.2.6, and users should upgrade to 3.2.6 or later. As a workaround, configure Fastify's handler timeout so hung handlers are eventually terminated and their resources released.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory cna.openjsf.org
- advisory github.com
- advisory nvd.nist.gov