CVE-2024-23641

HIGHCVSS 7.5/10EPSS 0.76%

Last modified

CVE-2024-23641 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.76% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
0.76%

50.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SvelteAdapter-Node>= 2.0.0, < 2.1.2
SvelteAdapter-Node>= 3.0.0, < 3.0.3
SvelteAdapter-Node4.0.0
SvelteKit>= 2.0.0, < 2.4.3

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2024-23641?
CVE-2024-23641 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 0.76% probability of exploitation in the next 30 days.
How do I fix CVE-2024-23641?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-23641?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST