CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Svelte

CVE-2024-23641
Svelte Adapter-node vulnerability

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 products

Adapter-node, Kit. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Svelte Adapter-node runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Svelte products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.