React Routerのルーティング処理で、細工されたパスによりサービス拒否が起きる脆弱性
Summary
React Routerのルートマッチング処理に脆弱性があり、細工されたパスを処理するとCPUを過剰に消費し、サービス拒否の状態になるおそれがあります。影響はマッチングが動く場所によって、ブラウザーでもサーバーでも起こり得ます。修正版はnpmのreact-routerで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のルートマッチング処理に脆弱性があり、細工されたパスを処理するとCPUを過剰に消費し、サービス拒否の状態になるおそれがあります。影響はマッチングが動く場所によって、ブラウザーでもサーバーでも起こり得ます。修正版はnpmのreact-routerで7.18.3と8.3.1が公開されているので、利用中の版を確認して更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmreact-router |
>=6.0.0, <7.18.3→ 7.18.3 |
7.18.3 |
| npmreact-router |
>=8.0.0, <8.3.1→ 8.3.1 |
8.3.1 |
Original description The description as published by the source.
A vulnerability in React Router’s route matching may cause excessive CPU consumption when processing specially crafted paths, potentially resulting in denial of service.
Affected Modes: Declarative, Data, Framework, RSC Data (unstable), and RSC Framework (unstable).
Impact may occur in the browser or on the server, depending on where route matching runs.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY remix-run/react-router