{ "canonical_id": "nextjs--CVE-2024-56332", "system_id": "nextjs", "display_name": "Next.js", "category": "frameworks", "advisory_mode": "core", "title": "Next.js Allows a Denial of Service (DoS) with Server Actions", "summary": "### 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.", "published_at": "2025-01-03T20:19:29Z", "updated_at": "2026-02-04T04:36:04.252972Z", "severity": "low", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/vercel/next.js/security/advisories/GHSA-7m27-7ghc-44w9", "secondary_source_urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2024-56332", "https://github.com/vercel/next.js" ], "aliases": [ "CVE-2024-56332", "GHSA-7m27-7ghc-44w9" ], "cve_ids": [ "CVE-2024-56332" ], "ghsa_ids": [ "GHSA-7m27-7ghc-44w9" ], "osv_ids": [ "GHSA-7m27-7ghc-44w9" ], "affected_versions": [ "introduced=13.0.0, fixed<13.5.8", "introduced=14.0.0, fixed<14.2.21", "introduced=15.0.0, fixed<15.1.2" ], "fixed_versions": [ "13.5.8", "14.2.21", "15.1.2" ], "package_name": "next", "render_markdown": true, "case_path": "07-framework-security/frameworks/nextjs/cases/nextjs-cve-2024-56332.md", "secure_code_topics": [ "authz-server-side-recheck", "proxy-trust-boundary", "token-cookie-storage" ], "status": "generated", "triage_reasons": [], "verification_status": "verified-real", "verification_mode": "real", "last_verified_at": "2026-03-18T03:57:16+00:00", "last_run_id": "nextjs-nextjs--CVE-2024-56332-20260318035710", "evidence_bundle": "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710", "historical_status": "verified-real", "latest_status": "verified-real", "browser_evidence": { "required": false, "present": true, "refs": [ "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/assets/baseline.png", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/assets/baseline-dom.html", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/logs/baseline-console.json", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/logs/baseline-network.json", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/logs/baseline-page.json", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/assets/proof.png", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/assets/proof-dom.html", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/logs/proof-console.json", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/logs/proof-network.json", "/Users/x/websafe/06-case-studies/generated-runs/nextjs-nextjs--CVE-2024-56332-20260318035710/logs/proof-page.json" ] }, "repro_profile_id": "nextjs-proxy-boundary", "artifact_mode": "local-fixture", "blocked_reason": null, "metadata": { "source_names": [ "OSV Next.js" ], "source_kinds": [ "osv-batch" ], "candidate_count": 1 } }