{"schemaVersion":3,"id":"CVE-2024-47831","aliases":["CGA-c2q7-76v4-9pch","GHSA-g77x-44xx-532m"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-10-14T18:04:25.927Z","modified":"2024-10-15T14:52:10.465Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":8.2,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00732,"percentile":0.53736,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00732},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00732,"percentile":0.53736}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00732,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00732,"percentile":0.53736}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-674","name":"Uncontrolled Recursion","description":"The product does not properly control the amount of recursion that takes place,  consuming excessive resources, such as allocated memory or the program stack.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/674.html"}],"affected":[{"vendor":"chainguard","product":"jitsucom-jitsu","name":"jitsucom-jitsu","label":"jitsucom-jitsu","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu","purlType":"apk","versions":[{"text":"< 2.8.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu","name":"jitsucom-jitsu","label":"jitsucom-jitsu","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu","purlType":"apk","versions":[{"text":"< 2.8.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2-r1","eol":null,"hubHref":null},{"vendor":"Npm","product":"next","name":"next","label":"next","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/next","purlType":"npm","versions":[{"text":"≥ 10.0.0, < 14.2.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.0, < 14.2.7","eol":{"isEol":null,"eolDate":null,"matchMethod":"purl","cycle":null,"product":{"name":"nextjs","label":"Next.js","category":"framework"}},"hubHref":null},{"vendor":"vercel","product":"next.js","name":"next.js","label":"next.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 10.0.0, < 14.2.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0.0, < 14.2.7","eol":null,"hubHref":"/vendor/vercel/nextjs"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m","label":"github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a","label":"github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47831.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47831.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47831","label":"nvd.nist.gov/vuln/detail/CVE-2024-47831","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vercel/next.js","label":"github.com/vercel/next.js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-C4WF-8F54-JXWP","CGA-R799-XVGX-MJJX"]},"timeline":[{"kind":"published","date":"2024-10-14T18:04:25.927Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-15T14:52:10.465Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T23:13:54.640Z","stale":false,"partial":false}}