CVE-2024-47831: vercel next.js Uncontrolled Recursion
Vulnerability summary
CVE-2024-47831 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in vercel next.js. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 14-10-2024PublishedVulnerability first disclosed.
- 15-10-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
0.00 pp
From 0.73% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- jitsucom-jitsu< 2.8.2-r1
Npm1 product
- next≥ 10.0.0, < 14.2.7
Vercel1 product
- next.js≥ 10.0.0, < 14.2.7
Wolfi1 product
- jitsucom-jitsu< 2.8.2-r1
4 vendors · 4 products
References
5 links- github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532mX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65aX Refsource MISCFIXWEBPatch
- github.com/vercel/next.jsPACKAGE