{ "canonical_id": "nextjs--CVE-2024-47831", "system_id": "nextjs", "display_name": "Next.js", "category": "frameworks", "advisory_mode": "core", "title": "Denial of Service condition in Next.js image optimization", "summary": "### 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", "published_at": "2024-10-14T19:45:21Z", "updated_at": "2026-02-04T03:25:43.295558Z", "severity": "low", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m", "secondary_source_urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2024-47831", "https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a", "https://github.com/vercel/next.js" ], "aliases": [ "CVE-2024-47831", "GHSA-g77x-44xx-532m" ], "cve_ids": [ "CVE-2024-47831" ], "ghsa_ids": [ "GHSA-g77x-44xx-532m" ], "osv_ids": [ "GHSA-g77x-44xx-532m" ], "affected_versions": [ "introduced=10.0.0, fixed<14.2.7" ], "fixed_versions": [ "14.2.7" ], "package_name": "next", "render_markdown": true, "case_path": "07-framework-security/frameworks/nextjs/cases/nextjs-cve-2024-47831.md", "secure_code_topics": [ "authz-server-side-recheck", "proxy-trust-boundary", "token-cookie-storage" ], "status": "generated", "triage_reasons": [], "metadata": { "source_names": [ "OSV Next.js" ], "source_kinds": [ "osv-batch" ], "candidate_count": 1 } }