CVE-2024-47831 Details
Description
Next.js is a React Framework for the Web. Cersions on the 10.x, 11.x, 12.x, 13.x, and 14.x branches before version 14.2.7 contain a vulnerability in the image optimization feature which allows for a potential Denial of Service (DoS) condition which could lead to excessive CPU consumption. Neither the `next.config.js` file that is configured with `images.unoptimized` set to `true` or `images.loader` set to a non-default value nor the Next.js application that is hosted on Vercel are affected. This issue was fully patched in Next.js `14.2.7`. As a workaround, ensure that the `next.config.js` file has either `images.unoptimized`, `images.loader` or `images.loaderFile` assigned.
A denial-of-service vulnerability has been identified in the image optimization feature of Next.js. This issue is present in versions 10.x, 11.x, 12.x, 13.x, and in the 14.x branch prior to 14.2.7. The vulnerability allows for excessive CPU consumption, leading to potential service disruption. However, applications hosted on Vercel or those with specific configurations in the 'next.config.js' file are not affected. The vulnerability has been fully patched in Next.js version 14.2.7.
Users are advised to upgrade to Next.js version 14.2.7 or later. If an immediate upgrade is not possible, ensure that the 'next.config.js' file includes 'images.unoptimized', 'images.loader', or 'images.loaderFile'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vercel next.js | >= 10.0.0, < 14.2.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 8, 2024 | Initial Analysis | [email protected] |
| Oct 14, 2024 | New CVE Received | [email protected] |