VDB

CVE-2024-47831

CVE-2024-47831 PUBLISHED CVSS 5.9 MEDIUM

Next.js image optimization has Denial of Service condition

Reported by github_m · Published October 14, 2024

next is fixed in 14.2.7 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nextnpm14.2.7
jitsucom-jitsuChainguard2.8.2-r1
next.jsvercel14.2.7

Risk scores

CVSS 3.1
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
vercelnext.js>= 10.0.0, < 14.2.7
npmnext10.0.0
chainguardjitsucom-jitsu0
vercelnext.js10.0.0
wolfijitsucom-jitsu0

Timeline

  • Oct 14, 2024 CVE Published
  • Oct 15, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 15, 2024 CVE Updated
  • Oct 16, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Mar 10, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-47831
vulnetix vdb fixes CVE-2024-47831

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47831/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›