{"schemaVersion":3,"id":"CVE-2024-34351","aliases":["CGA-52px-hwqq-27pr","CGA-83qv-h68h-789h","CGA-q7hf-ghmv-5694","GHSA-fr5h-rqp8-mj6g"],"status":"published","duplicateOf":null,"title":null,"description":"Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.","dates":{"published":"2024-05-09T16:14:16.236Z","modified":"2024-08-02T02:51:09.867Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"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:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05453,"percentile":0.92699,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.05453},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.05453,"percentile":0.92699}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05453,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.05453,"percentile":0.92699}]},"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-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.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.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"jitsucom-jitsu-console","name":"jitsucom-jitsu-console","label":"jitsucom-jitsu-console","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu-console","purlType":"apk","versions":[{"text":"< 2.8.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"jitsucom-jitsu-rotor","name":"jitsucom-jitsu-rotor","label":"jitsucom-jitsu-rotor","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/jitsucom-jitsu-rotor","purlType":"apk","versions":[{"text":"< 2.8.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.0-r0","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.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu-console","name":"jitsucom-jitsu-console","label":"jitsucom-jitsu-console","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu-console","purlType":"apk","versions":[{"text":"< 2.8.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"jitsucom-jitsu-rotor","name":"jitsucom-jitsu-rotor","label":"jitsucom-jitsu-rotor","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/jitsucom-jitsu-rotor","purlType":"apk","versions":[{"text":"< 2.8.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.0-r0","eol":null,"hubHref":null},{"vendor":"Npm","product":"next","name":"next","label":"next","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/next","purlType":"npm","versions":[{"text":"≥ 13.4.0, < 14.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.4.0, < 14.1.1","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":"≥ 13.4.0, < 14.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.4.0, < 14.1.1","eol":null,"hubHref":"/vendor/vercel/nextjs"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g","label":"github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Vendor Advisory"]},{"url":"https://github.com/vercel/next.js/pull/62561","label":"github.com/vercel/next.js/pull/62561","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085","label":"github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34351.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34351.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34351","label":"nvd.nist.gov/vuln/detail/CVE-2024-34351","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-39W9-HRR6-46F9","CGA-WPM2-67F8-C286"]},"timeline":[{"kind":"published","date":"2024-05-09T16:14:16.236Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T02:51:09.867Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T18:33:18.561Z","stale":false,"partial":false}}