Vulnérabilité dans @fastify/busboy (CVE-2026-19481)
Résumé
Vulnérabilité dans @fastify/busboy (CVE-2026-19481). Risque d'opérations non autorisées ou de divulgation. Exploitable via __proto__. Atténuation : mise à jour vers 3.2.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
Versions of @fastify/busboy from 1.0.0 and prior to 3.2.1 are vulnerable to a Denial of Service. The multipart header parser stores part-header names on a plain JavaScript object, so a part header named __proto__ or constructor resolves to an inherited value that is not an array, and the parser throws TypeError: this.header[h].push is not a function. Through the documented req.pipe(busboy) integration this surfaces as an error event, while direct write()/end() usage throws synchronously and can terminate the Node.js process if uncaught. The parser runs before application middleware, so any unauthenticated client that can submit multipart/form-data is affected.
Patches
Fixed in version 3.2.1.
Workarounds
Attach an error listener to the Busboy stream so the parser failure is handled rather than crashing the process, and wrap direct write()/end() calls in a try/catch. Upgrading to 3.2.1 removes the failure entirely.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-19481 a été découverte dans @fastify/busboy.
Des attaquants peuvent cibler un point d'entrée spécifique comme __proto__ à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 7.5/10.
Action : mettez à jour @fastify/busboy vers 3.2.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « @fastify/busboy CVE-2026-19481 » sur le site de l'éditeur.
CVE-2026-19481 (@fastify/busboy) — CWE-754 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : __proto__ / constructor / error
Correctif : 3.2.1 — appliquer immédiatement
Contournement : Attach an error listener to the Busboy stream so the parser failure is handled rather than crashing the process, and wrap direct write()/end() calls in a try/catch.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-754) affecte @fastify/busboy. Les attaquants atteignent le code vulnérable via __proto__ sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de @fastify/busboy. Surface d'attaque : __proto__ / constructor / error.
Gravité : Élevée (CVSS 7.5/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 3.2.1.
Contournement : Attach an error listener to the Busboy stream so the parser failure is handled rather than crashing the process, and wrap direct write()/end() calls in a try/catch.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r '@fastify/busboy' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
@fastify/busboyを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Attach an `error` listener to the Busboy stream so the parser failure is handled rather than crashing the process, and wrap direct `write()`/`end()` calls in a try/catch.パッチが適用されるまでの応急処置として、Attach an
errorlistener to the Busboy stream so the parser failure is handled rather than crashing the process, and wrap directwrite()/end()calls in a try/catch. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade @fastify/busboy to 3.2.1ステージング環境で 3.2.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web cna.openjsf.org
- web github.com
- web github.com
- web github.com
- web github.com