CVE-2024-47831
next.js: Next.js image optimization has Denial of Service condition
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-674
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | next | >=10.0.0, <14.2.7 | 14.2.7 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | aspnetcore-runtime-7-0 +11 | eol |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| jitsucom-jitsu | 2.8.2-r1 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| trigger-dev | 4.5.0-r0 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| jitsucom-jitsu | 2.8.2-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-47831
- github.com https://github.com/vercel/next.js
- github.com https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a
- github.com https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-47831
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-47831
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.