CVE-2024-56332

Published Jan 3, 2025

Last updated 8 months ago

Overview

Description
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.
Source
security-advisories@github.com
NVD status
Analyzed
Products
next.js

Risk scores

CVSS 3.1

Type
Secondary
Base score
5.3
Impact score
1.4
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Severity
MEDIUM

Weaknesses

security-advisories@github.com
CWE-770

Social media

Hype score
Not currently trending
  1. 記事を投稿しました! Next.js の脆弱性 CVE-2024-56332 への対応 [pdfjs] on #Qiita https://t.co/GqzXKs02QY

    @Hogeta_KL

    17 Jan 2025

    51 Impressions

    0 Retweets

    3 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. ⚠️Next.js Vulnerable a Denegación de Servicio (DoS) con peticiones a Server Actions 🚨CVE-2024-56332 https://t.co/gkFdkOa8dc… https://t.co/vAuEi2RtVJ

    @doncaptador

    8 Jan 2025

    11 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. ⚠️Next.js Vulnerable a Denegación de Servicio (DoS) con peticiones a Server Actions 🚨CVE-2024-56332 https://t.co/NETtyOxReq https://t.co/LMPWaUngp6

    @elhackernet

    8 Jan 2025

    1557 Impressions

    0 Retweets

    4 Likes

    3 Bookmarks

    0 Replies

    0 Quotes

  4. Next.js Patches Denial-of-Service Vulnerability (CVE-2024-56332) in Server Actions. #cybersecurity #informationsecurity https://t.co/mj1PbvFlnq

    @SecAdvsAlerts

    5 Jan 2025

    19 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  5. #Vulnerability #CVE202456332 Next.js Patches Denial-of-Service Vulnerability (CVE-2024-56332) in Server Actions https://t.co/OdUauRXwbW

    @Komodosec

    4 Jan 2025

    25 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. 🚨 Next.js has addressed a critical DoS vulnerability (CVE-2024-56332) in Server Actions that could exhaust server resources. Users should update to versions v14.2.21, v15.1.2, or v13.5.8 for safety. 🇺🇸 #NextJS #ServerSecurity #CybersecurityNews link: https://t.co/46S5VTz4QT h

    @TweetThreatNews

    4 Jan 2025

    29 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  7. 🚨🚨CVE-2024-56332: Next.js Vulnerable to Denial of Service (DoS) with Server Actions ⚠️A 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. ZoomEye… http

    @zoomeye_team

    4 Jan 2025

    1445 Impressions

    3 Retweets

    11 Likes

    4 Bookmarks

    0 Replies

    0 Quotes

  8. Next.js Patches Denial-of-Service Vulnerability (CVE-2024-56332) in Server Actions https://t.co/3Q8lRl3x1W

    @WhalersLtd

    4 Jan 2025

    5 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  9. Next.js, Server Actions’da Denial-of-Service (DoS) Zafiyetini Giderdi (CVE-2024-56332) https://t.co/Vc1NYxslv4

    @cyberwebeyeos

    4 Jan 2025

    10 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  10. CVE-2024-56332 Denial of Service Vulnerability in Next.js Server Actions (Fixed) Next.js is a React framework for full-stack web apps. In versions from 13.0.0 to before 13.5.8, 14.2.21, and 15.1.2, it has a Denia... https://t.co/2R4rVteAH3

    @VulmonFeeds

    3 Jan 2025

    34 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  11. CVE-2024-56332 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 vulner… https://t.co/FuszjozEKZ

    @CVEnew

    3 Jan 2025

    547 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

Configurations

References

Sources include official advisories and independent security research.