cve.bz

CVE-2024-56332 vercel next.js

5.3 mediumEPSS 0.8%Fix available

Medium (5.3) in vercel next.js. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in next 13.5.8, 14.2.21, 15.1.2.

On this page
Next.js is a React framework for building full-stack web applications. Starting in version 13.0.0 and prior to versions 13.5.8, 14.2.21, and 15.1.2, Next.js is vulnerable to a Denial of Service (DoS) attack that allows attackers to construct requests that leaves requests to Server Actions hanging until the hosting provider cancels the function execution. This vulnerability can also be used as a Denial of Wallet (DoW) attack when deployed in providers billing by response times. (Note: Next.js server is idle during that time and only keeps the connection open. CPU and memory footprint are low during that time.). Deployments 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. This 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. This vulnerability affects only Next.js deployments using Server Actions. The issue was resolved in Next.js 13.5.8, 14.2.21, and 15.1.2. We recommend that users upgrade to a safe version. There are no official workarounds.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-56332 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-56332?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-56332?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-56332 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vercel:next.jsfrom 13.0.0 before 13.5.8
vercel:next.jsfrom 14.0.0 before 14.2.21
vercel:next.jsfrom 15.0.0 before 15.1.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7m27-7ghc-44w9npmnext>=13.0.0 <13.5.813.5.8
GHSA-7m27-7ghc-44w9npmnext>=14.0.0 <14.2.2114.2.21
GHSA-7m27-7ghc-44w9npmnext>=15.0.0 <15.1.215.1.2

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability affects only Next.js deployments using Server Actions.

Deployments 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.

ProductPackageStateAdvisory
Red Hat Trusted Artifact Signer 1.1rhtas/rekor-search-ui-rhel9:1.1.2-1744101482Fixed 2025-04-10RHSA-2025:3807
Red Hat Enterprise Linux 7firefoxOut of support scope
Red Hat Enterprise Linux 8firefoxOut of support scope
Red Hat Enterprise Linux 8thunderbirdOut of support scope
Red Hat Enterprise Linux 9dotnet7.0Out of support scope
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9firefox:flatpak/firefoxNot affected
Red Hat Enterprise Linux 9thunderbirdNot affected
Red Hat Enterprise Linux 9thunderbird:flatpak/thunderbirdNot affected
streams for Apache Kafkacom.github.streamshub-consoleAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-56332.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON