Next.js denial of service in App Router Server Actions
vercel next.js
vercel next.js
| Product | Affected | Fixed in |
|---|---|---|
| next npm |
|
|
Next.js is a React framework for building full-stack web applications. From 13.0.0 until 15.5.28 and 16.4.1, crafted requests targeting App Router applications with at least one Server Action can cause excessive CPU consumption and block processing of further requests in the same process. Applications using the Pages Router and App Router applications without Server Actions are not affected. This issue is fixed in versions 15.5.28 and 16.4.1.
From the CVE record · GitHub_M
Crafted requests to a Next.js App Router application with at least one Server Action can consume excessive CPU and block further requests in the same process. The issue is triggered by requests; the input does not specify authentication requirements or user interaction. Pages Router applications and App Router applications without Server Actions are not affected.
Check applications running the npm next package at versions >=13.0.0 <15.5.28 or >=16.0.0 <16.4.1.