Improper input validation in Svelte Adapter-Node
CVE-2024-23641
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.008 (53.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 53.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Svelte Adapter-Node — versions 4.0.0
- Svelte Kit
- Sveltejs Kit — versions >= 2.0.0, < 2.4.3, >= 2.0.0, < 2.1.2, >= 3.0.0, < 3.0.3
Weakness classification (CWE)
References
- github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49 (Exploit, Vendor Advisory)
- github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9 (Patch)
Frequently asked questions
- What is CVE-2024-23641?
- CVE-2024-23641 is a high-severity vulnerability in Svelte Adapter-Node, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2024-01-24.
- How severe is CVE-2024-23641?
- High severity. CVSS v3 base score is 7.5 out of 10.