PT-2024-7169 · Vercel · Next.Js
Brandon Dahler
+1
·
Published
2024-10-14
·
Updated
2024-11-08
·
CVE-2024-47831
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Next.js versions 10.x through 14.x before version 14.2.7
Description
The issue is related to the image optimization feature in Next.js, which contains a vulnerability allowing for a potential Denial of Service (DoS) condition that could lead to excessive CPU consumption due to uncontrolled recursion. This could be exploited by a remote attacker. The
next.config.js file configured with images.unoptimized set to true or images.loader set to a non-default value, and Next.js applications hosted on Vercel, are not affected.Recommendations
For Next.js versions 10.x through 14.x before version 14.2.7, upgrade to version 14.2.7 or later to secure your setup.
As a temporary workaround, ensure that the
next.config.js file has either images.unoptimized, images.loader, or images.loaderFile assigned.Exploit
Fix
DoS
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Next.Js