React Server Componentsのサーバー関数で細工されたHTTPリクエストによりサービス妨害が発生
Summary
細工されたHTTPリクエストをサーバー関数のエンドポイントに送られると、メモリ不足やCPUの過剰な使用が起きてサービス妨害となるおそれがあります。影響を受けるのはreact-server-dom-webpack、react-server-dom-parcel、react-server-dom-turbopackの19.0.0から19.0.7、19.1.0から19.1.8、19.2.0から19.2.7です。19.0.9、19.1.10、19.2.9、19.3.1以降に速やかに更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
細工されたHTTPリクエストをサーバー関数のエンドポイントに送られると、メモリ不足やCPUの過剰な使用が起きてサービス妨害となるおそれがあります。影響を受けるのはreact-server-dom-webpack、react-server-dom-parcel、react-server-dom-turbopackの19.0.0から19.0.7、19.1.0から19.1.8、19.2.0から19.2.7です。19.0.9、19.1.10、19.2.9、19.3.1以降に速やかに更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| npm | react-server-dom-parcel |
19.0.0, 19.0.1, 19.0.2, 19.0.3, 19.0.4, 19.0.5, 19.0.6, 19.0.7, 19.0.8, 19.1.0, 19.1.1, 19.1.2, 19.1.3, 19.1.4, 19.1.5, 19.1.6, 19.1.7, 19.1.8, 19.1.9, 19.2.0, 19.2.1, 19.2.2, 19.2.3, 19.2.4, 19.2.5, 19.2.6, 19.2.7, 19.2.8, 19.3.0 |
19.0.9 |
| npm | react-server-dom-turbopack |
19.0.0, 19.0.1, 19.0.2, 19.0.3, 19.0.4, 19.0.5, 19.0.6, 19.0.7, 19.0.8, 19.1.0, 19.1.1, 19.1.2, 19.1.3, 19.1.4, 19.1.5, 19.1.6, 19.1.7, 19.1.8, 19.1.9, 19.2.0, 19.2.1, 19.2.2, 19.2.3, 19.2.4, 19.2.5, 19.2.6, 19.2.7, 19.2.8, 19.3.0 |
19.0.9 |
| npm | react-server-dom-webpack |
19.0.0, 19.0.1, 19.0.2, 19.0.3, 19.0.4, 19.0.5, 19.0.6, 19.0.7, 19.0.8, 19.1.0, 19.1.1, 19.1.2, 19.1.3, 19.1.4, 19.1.5, 19.1.6, 19.1.7, 19.1.8, 19.1.9, 19.2.0, 19.2.1, 19.2.2, 19.2.3, 19.2.4, 19.2.5, 19.2.6, 19.2.7, 19.2.8, 19.3.0 |
19.0.9 |
Original description The description as published by the source.
Impact
A denial of service vulnerability could be triggered by sending specially crafted HTTP requests to server function endpoints, this could lead to out-of-memory exceptions or excessive CPU usage.
We recommend updating immediately.
The vulnerability exists in versions 19.0.0 through 19.0.7, 19.1.0 through 19.1.8, and 19.2.0 through 19.2.7 of:
- react-server-dom-webpack
- react-server-dom-parcel
- react-server-dom-turbopack
Patches
Fixes were back ported to versions 19.0.9, 19.1.10, 19.2.9, and 19.3.1.
If you are using any of the above packages please upgrade to any of the fixed versions immediately.
If your app’s React code does not use a server, your app is not affected by this vulnerability. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by this vulnerability.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY facebook/react