Next.jsのApp RouterでServer Actionsを使うと処理が止まるおそれ
Summary
細工されたリクエストによって、Server Actionsを1つ以上使うApp Routerのアプリで CPU使用率が過剰に上がり、同じプロセスでの後続リクエストの処理がブロックされるおそれがあります。影響を受けるnextパッケージは、修正版の15.5.28または16.4.1にアップデートしてください。回避策はないため、アップデートが必要です。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
細工されたリクエストによって、Server Actionsを1つ以上使うApp Routerのアプリで CPU使用率が過剰に上がり、同じプロセスでの後続リクエストの処理がブロックされるおそれがあります。影響を受けるnextパッケージは、修正版の15.5.28または16.4.1にアップデートしてください。回避策はないため、アップデートが必要です。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| npm | next |
>=13.0.0 <= 15.5.27 |
15.5.28 |
| npm | next |
>= 16.0.0 <= 16.4.0 |
16.4.1 |
Original description The description as published by the source.
Impact
Crafted requests targeting Next.js applications using App Router with at least one Server Action can lead to excessive CPU usage blocking processing of further requests in the same process.
Workarounds
No workaround exists besides upgrading. Applications using Pages Router or not using Server Actions are not vulnerable.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY vercel/next.js