{"id":"CVE-2024-23641","state":"PUBLISHED","title":"Sending a GET or HEAD request with a body crashes SvelteKit","description":"SvelteKit is a web development kit. In SvelteKit 2, sending a GET request with a body eg `{}` to a built and previewed/hosted sveltekit app throws `Request with GET/HEAD method cannot have body.` and crashes the preview/hosting. After this happens, one must manually restart the app. `TRACE` requests will also cause the app to crash. Prerendered pages and SvelteKit 1 apps are not affected. `@sveltejs/adapter-node` versions 2.1.2, 3.0.3, and 4.0.1 and `@sveltejs/kit` version 2.4.3 contain a patch for this issue.","publishedAt":"2024-01-24T16:56:32.392Z","updatedAt":"2024-11-13T15:09:39.781Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["sveltejs kit"],"affected":[{"vendor":"sveltejs","product":"kit","versions":[{"version":">= 2.0.0, < 2.4.3","status":"affected"},{"version":">= 2.0.0, < 2.1.2","status":"affected"},{"version":">= 3.0.0, < 3.0.3","status":"affected"},{"version":"= 4.0.0","status":"affected"}]}],"references":["https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49","https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/23xxx/CVE-2024-23641.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-23641","state":"PUBLISHED","datePublished":"2024-01-24T16:56:32.392Z","dateUpdated":"2024-11-13T15:09:39.781Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-01-19T00:18:53.233Z"},"containers":{"cna":{"title":"Sending a GET or HEAD request with a body crashes SvelteKit","descriptions":[{"lang":"en","value":"SvelteKit is a web development kit. In SvelteKit 2, sending a GET request with a body eg `{}` to a built and previewed/hosted sveltekit app throws `Request with GET/HEAD method cannot have body.` and crashes the preview/hosting. After this happens, one must manually restart the app. `TRACE` requests will also cause the app to crash. Prerendered pages and SvelteKit 1 apps are not affected. `@sveltejs/adapter-node` versions 2.1.2, 3.0.3, and 4.0.1 and `@sveltejs/kit` version 2.4.3 contain a patch for this issue."}],"affected":[{"vendor":"sveltejs","product":"kit","versions":[{"version":">= 2.0.0, < 2.4.3","status":"affected"},{"version":">= 2.0.0, < 2.1.2","status":"affected"},{"version":">= 3.0.0, < 3.0.3","status":"affected"},{"version":"= 4.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49","name":"https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9","name":"https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-01-24T16:56:32.392Z"},"source":{"advisory":"GHSA-g5m6-hxpp-fc49","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49","name":"https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9","name":"https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:06:25.315Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-13T15:09:24.824860Z","id":"CVE-2024-23641","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-13T15:09:39.781Z"}}]}}}