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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23641.json",
"cwe_ids": [
"CWE-20"
]
}{
"cpe": [
"cpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:*",
"cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:*",
"cpe:2.3:a:svelte:adapter-node:4.0.0:*:*:*:*:node.js:*:*"
],
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.1.2"
},
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.3"
},
{
"fixed": "2.4.3"
},
{
"introduced": "4.0.0"
},
{
"last_affected": "4.0.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
]
}