{"id":"CVE-2024-47831","aliases":["GHSA-g77x-44xx-532m"],"summary":"Next.js image optimization has Denial of Service condition","published_at":"2024-10-14T18:04:25.927Z","modified_at":"2026-09-10T03:50:19.720748Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"medium","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.007319999858736992,"percentile":0.551010012626648,"date":"2026-11-19T00:00:00Z"},"priority":7.9,"details":"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.","affected_stack":[{"ecosystem":"Red Hat:enterprise_linux:9","package":"aspnetcore-runtime-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"aspnetcore-targeting-pack-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-apphost-pack-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-host","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-hostfxr-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-runtime-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-sdk-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-sdk-7.0-source-built-artifacts","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-targeting-pack-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-templates-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"netstandard-targeting-pack-2.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"vercel/next.js","versions":[">= 10.0.0, < 14.2.7"],"provider":"cvelistv5","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"NVD","package":"vercel:next.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0"},{"fixed":"14.2.7"}]}],"fixed":["14.2.7"],"provider":"nvd","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"npm","package":"next","purl":"pkg:npm/next","ranges":[{"type":"SEMVER","events":[{"introduced":"10.0.0"},{"fixed":"14.2.7"}]}],"fixed":["14.2.7"],"provider":"osv","source":"GHSA-g77x-44xx-532m","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["firefox","thunderbird"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"affected","packages":["aspnetcore-runtime-7.0","aspnetcore-targeting-pack-7.0","dotnet-apphost-pack-7.0","dotnet-host","dotnet-hostfxr-7.0","dotnet-runtime-7.0","dotnet-sdk-7.0","dotnet-sdk-7.0-source-built-artifacts","dotnet-targeting-pack-7.0","dotnet-templates-7.0","dotnet7.0","netstandard-targeting-pack-2.1"],"package_count":12,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["firefox","firefox-x11","thunderbird"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Trusted Artifact Signer","cpe":"cpe:/a:redhat:trusted_artifact_signer:1","status":"not_affected","packages":["rekor-search-ui-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-47831","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-47831","license":"CC-BY-4.0","published_at":"2024-10-14T18:04:25.927Z","modified_at":"2024-10-15T14:52:10.465Z","summary":"Next.js image optimization has Denial of Service condition","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2024-47831"}],"affected":[{"ecosystem":"CVE","package":"vercel/next.js","versions":[">= 10.0.0, < 14.2.7"],"provider":"cvelistv5","source":"CVE-2024-47831","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a"}]},{"provider":"nvd","source_id":"CVE-2024-47831","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47831","severity":[],"affected":[{"ecosystem":"NVD","package":"vercel:next.js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10.0.0"},{"fixed":"14.2.7"}]}],"fixed":["14.2.7"],"provider":"nvd","source":"CVE-2024-47831","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-g77x-44xx-532m","relation":"self","url":"https://osv.dev/vulnerability/GHSA-g77x-44xx-532m","license":"CC-BY-4.0","published_at":"2024-10-14T19:45:21Z","modified_at":"2026-09-10T03:50:19.720748Z","summary":"Denial of Service condition in Next.js image optimization","details":"### Impact\nThe image optimization feature of Next.js contained a vulnerability which allowed for a potential Denial of Service (DoS) condition which could lead to excessive CPU consumption.\n\n**Not affected:**\n- The `next.config.js` file is configured with `images.unoptimized` set to `true` or `images.loader` set to a non-default value.\n- The Next.js application is hosted on Vercel. \n\n### Patches\nThis issue was fully patched in Next.js `14.2.7`. We recommend that users upgrade to at least this version.\n\n### Workarounds\nEnsure that the `next.config.js` file has either `images.unoptimized`, `images.loader` or `images.loaderFile` assigned.\n\n#### Credits\nBrandon Dahler (brandondahler), AWS\nDimitrios Vlastaras","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-g77x-44xx-532m"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","source":"GHSA-g77x-44xx-532m"}],"affected":[{"ecosystem":"npm","package":"next","purl":"pkg:npm/next","ranges":[{"type":"SEMVER","events":[{"introduced":"10.0.0"},{"fixed":"14.2.7"}]}],"fixed":["14.2.7"],"provider":"osv","source":"GHSA-g77x-44xx-532m","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47831"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a"},{"type":"PACKAGE","url":"https://github.com/vercel/next.js"}]},{"provider":"redhat-vex","source_id":"CVE-2024-47831","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-47831","license":"CC-BY-4.0","published_at":"2024-10-14T18:04:25.927Z","modified_at":"2026-07-03T10:34:05Z","summary":"next.js: Next.js image optimization has Denial of Service condition","details":"A flaw was found in Next.js. In certain versions, a vulnerability in the image optimization feature 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 hosted on Vercel is affected.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2024-47831"},{"type":"Red Hat","score":"Moderate","source":"CVE-2024-47831"}],"affected":[{"ecosystem":"Red Hat:enterprise_linux:9","package":"aspnetcore-runtime-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"aspnetcore-targeting-pack-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-apphost-pack-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-host","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-hostfxr-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-runtime-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-sdk-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-sdk-7.0-source-built-artifacts","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-targeting-pack-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet-templates-7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"dotnet7.0","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"netstandard-targeting-pack-2.1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-47831","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["firefox"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["firefox","thunderbird"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"affected","packages":["aspnetcore-runtime-7.0","aspnetcore-targeting-pack-7.0","dotnet-apphost-pack-7.0","dotnet-host","dotnet-hostfxr-7.0","dotnet-runtime-7.0","dotnet-sdk-7.0","dotnet-sdk-7.0-source-built-artifacts","dotnet-targeting-pack-7.0","dotnet-templates-7.0","dotnet7.0","netstandard-targeting-pack-2.1"],"package_count":12,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["firefox","firefox-x11","thunderbird"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"},{"vendor":"Red Hat","product":"Red Hat Trusted Artifact Signer","cpe":"cpe:/a:redhat:trusted_artifact_signer:1","status":"not_affected","packages":["rekor-search-ui-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-47831"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-47831.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-47831"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318607"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-47831"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47831"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a"},{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m"}]}],"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m"},{"type":"WEB","url":"https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47831"},{"type":"PACKAGE","url":"https://github.com/vercel/next.js"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-47831.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-47831"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2318607"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-47831"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-47831","url":"https://www.cve.org/CVERecord?id=CVE-2024-47831","license":"CC-BY-4.0","modified_at":"2024-10-15T14:52:10.465Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-47831","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47831","relation":"self"},{"provider":"osv","source_id":"GHSA-g77x-44xx-532m","url":"https://osv.dev/vulnerability/GHSA-g77x-44xx-532m","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:19.720748Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-47831","url":"https://access.redhat.com/security/cve/CVE-2024-47831","license":"CC-BY-4.0","modified_at":"2026-07-03T10:34:05Z","relation":"self"}]}
