CVE-2024-23641
CVE-2024-23641 · Sending a GET or HEAD request with a body crashes SvelteKit
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.8% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
kit
- Versions
- >= 2.0.0, < 2.4.3: Affected
- >= 2.0.0, < 2.1.2: Affected
- >= 3.0.0, < 3.0.3: Affected
- = 4.0.0: Affected
No fix published
@sveltejs/kit npm
- Affected ranges
- SEMVER: ≥ 2.0.0, < 2.4.3
Update to 2.4.3
@sveltejs/adapter-node npm
- Affected ranges
- SEMVER: ≥ 2.0.0, < 2.1.2
Update to 2.1.2
@sveltejs/adapter-node npm
- Affected ranges
- SEMVER: ≥ 3.0.0, < 3.0.3
Update to 3.0.3
@sveltejs/adapter-node npm
- Versions
- 4.0.0
- Affected ranges
- SEMVER: ≥ 4.0.0, < 4.0.1
Update to 4.0.1