Feed
5.3MEDIUM

CVE-2024-56332Next.js Allows a Denial of Service (DoS) with Server Actions

A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.1% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.1%
percentile 64%
Priority
24/100 low
how it is computed
Fix
Named by a source
CVE published 3 Jan 2025

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.1% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 13.0.0, < 13.5.8Fixed in13.5.8OSV (GHSA-7m27-7ghc-44w9)
    • Affected>= 14.0.0, < 14.2.21Fixed in14.2.21OSV (GHSA-7m27-7ghc-44w9)
    • Affected>= 15.0.0, < 15.1.2Fixed in15.1.2OSV (GHSA-7m27-7ghc-44w9)
  • vercel next.js product:vercel/nextjs

    • Affected>= 13.0.0, < 13.5.8Affected range ends before13.5.8as published by CNA (CVE List)
    • Affected>= 14.0.0, < 14.2.21Affected range ends before14.2.21as published by CNA (CVE List)
    • Affected>= 15.0.0, < 15.1.2Affected range ends before15.1.2as published by CNA (CVE List)
    • Affected>= 13.0.0, < 13.5.8Affected range ends before13.5.8as published by CPE data (via the NVD API)
    • Affected>= 14.0.0, < 14.2.21Affected range ends before14.2.21as published by CPE data (via the NVD API)
    • Affected>= 15.0.0, < 15.1.2Affected range ends before15.1.2as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
5.3 MEDIUM (version 3.1)
Score from
CNA ([email protected])
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-770
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 3 Jan 2025Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 29 min ago · osv 29 min ago · nvd 90 min ago · epss 29 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-7m27-7ghc-44w9