@hapi/content 6.0.1以降で正規表現の過負荷による サービス停止が起きる脆弱性
Summary
@hapi/content の 6.0.1 以上 6.0.3 未満では、Content.disposition() の処理に正規表現の過負荷(ReDoS)の脆弱性があります。認証のない遠隔の攻撃者が、等号のない長い Content-Disposition パラメータを含むマルチパートアップロードを送ることで、イベントループを長時間ブロックできます。修正版の 6.0.3 へ更新してください。
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.
@hapi/content の 6.0.1 以上 6.0.3 未満では、Content.disposition() の処理に正規表現の過負荷(ReDoS)の脆弱性があります。認証のない遠隔の攻撃者が、等号のない長い Content-Disposition パラメータを含むマルチパートアップロードを送ることで、イベントループを長時間ブロックできます。修正版の 6.0.3 へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| hapijs@hapi/content |
≥ 6.0.1, < 6.0.3→ 6.0.3 |
6.0.3 |
| npm@hapi/content |
< 6.0.1→ 6.0.1 |
6.0.1 |
Original description The description as published by the source.
@hapi/content from 6.0.1 before 6.0.3 contains a regular expression denial of service vulnerability in Content.disposition() caused by an incomplete fix for CVE-2026-35213. Unauthenticated remote attackers can send multipart uploads with a long Content-Disposition parameter lacking an equals sign, triggering quadratic backtracking that blocks the event loop.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com