React Routerに細工された長いパスで過剰な計算が起き、サービス停止が起きる脆弱性
Summary
React Routerの6.0.0から7.18.3まで、および8.3.1までのバージョンに、ルーティングの正規表現処理で過剰な計算が起きる脆弱性があります。細工された長いパスを処理させると、ブラウザーやサーバーのCPUを使い切り、サービス拒否を引き起こすおそれがあります。修正版は7.18.3と8.3.1で、アップデートしてください。
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.
React Routerの6.0.0から7.18.3まで、および8.3.1までのバージョンに、ルーティングの正規表現処理で過剰な計算が起きる脆弱性があります。細工された長いパスを処理させると、ブラウザーやサーバーのCPUを使い切り、サービス拒否を引き起こすおそれがあります。修正版は7.18.3と8.3.1で、アップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| remix-runreact-router | — | Not listed |
| npmreact-router |
≥ 8.0.0, < 8.3.1→ 8.3.1 |
8.3.1 |
Original description The description as published by the source.
React Router is a router for React. From 6.0.0 until 7.18.3 and 8.3.1, react Router's regular-expression-based route matching can perform excessive work when processing specially crafted long paths. Declarative, Data, Framework, unstable RSC Data, and unstable RSC Framework applications can consume excessive CPU in the browser or server, depending on where matching occurs, causing denial of service. This issue is fixed in versions 7.18.3 and 8.3.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com