{"id":"GHSA-7m27-7ghc-44w9","revision":"977e855fa2d24103819c7f9f80d71d32","records":[{"revision":"977e855fa2d24103819c7f9f80d71d32","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-7m27-7ghc-44w9","aliases":["CVE-2024-56332"],"title":"Next.js Allows a Denial of Service (DoS) with Server Actions","description":"### Impact\nA Denial of Service (DoS) attack allows attackers to construct requests that leaves requests to Server Actions hanging until the hosting provider cancels the function execution.\n\n_Note: Next.js server is idle during that time and only keeps the connection open. CPU and memory footprint are low during that time._\n\nDeployments without any protection against long running Server Action invocations are especially vulnerable. Hosting providers like Vercel or Netlify set a default maximum duration on function execution to reduce the risk of excessive billing.\n\nThis is the same issue as if the incoming HTTP request has an invalid `Content-Length` header or never closes. If the host has no other mitigations to those then this vulnerability is novel.\n\nThis vulnerability affects only Next.js deployments using Server Actions.\n\n### Patches\n\nThis vulnerability was resolved in Next.js 14.2.21, 15.1.2, and 13.5.8. We recommend that users upgrade to a safe version.\n\n### Workarounds\n\nThere are no official workarounds for this vulnerability.\n\n### Credits\n\nThanks to the PackDraw team for responsibly disclosing this vulnerability.","state":0,"publishedAt":"2025-01-03T20:19:29+00:00","modifiedAt":"2026-09-10T03:50:21.8233058+00:00","affected":[{"ecosystem":"npm","name":"next","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"13.0.0"},{"kind":"fixed","version":"13.5.8"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"next","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"14.0.0"},{"kind":"fixed","version":"14.2.21"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"next","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"15.0.0"},{"kind":"fixed","version":"15.1.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/vercel/next.js/security/advisories/GHSA-7m27-7ghc-44w9","https://nvd.nist.gov/vuln/detail/CVE-2024-56332","https://github.com/vercel/next.js"],"sourceUrl":"https://github.com/advisories/GHSA-7m27-7ghc-44w9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7m27-7ghc-44w9","identifiers":["GHSA-7m27-7ghc-44w9","CVE-2024-56332"]},"retained":false,"historicalAffected":[]}],"coverage":[]}