Uncontrolled Recursion Affecting next package, versions >=10.0.0 <14.2.7 >=15.0.0-canary.0 <15.0.0-canary.109
Threat Intelligence
EPSS
0.04% (10th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-NEXT-8186172
- published 15 Oct 2024
- disclosed 14 Oct 2024
- credit Brandon Dahler, Dimitrios Vlastaras
Introduced: 14 Oct 2024
CVE-2024-47831 Open this link in a new tabHow to fix?
Upgrade next
to version 14.2.7, 15.0.0-canary.109 or higher.
Overview
next is a react framework.
Affected versions of this package are vulnerable to Uncontrolled Recursion through the image optimization feature. An attacker can cause excessive CPU consumption by exploiting this vulnerability.
Workaround
Ensure that the next.config.js
file has either images.unoptimized
, images.loader
or images.loaderFile
assigned.