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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:*
cpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:*
cpe:2.3:a:svelte:adapter-node:4.0.0:*:*:*:*:node.js:*:*
cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:*

History

05 Feb 2024, 16:50

Type Values Removed Values Added
First Time Svelte adapter-node
Svelte kit
Svelte
CWE NVD-CWE-noinfo
CPE cpe:2.3:a:svelte:adapter-node:4.0.0:*:*:*:*:node.js:*:*
cpe:2.3:a:svelte:kit:*:*:*:*:*:node.js:*:*
cpe:2.3:a:svelte:adapter-node:*:*:*:*:*:node.js:*:*
References () https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9 - () https://github.com/sveltejs/kit/commit/af34142631c876a7eb62ff81f71e8a3f90dafee9 - Patch
References () https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49 - () https://github.com/sveltejs/kit/security/advisories/GHSA-g5m6-hxpp-fc49 - Exploit, Vendor Advisory
Summary
  • (es) SvelteKit es un kit de desarrollo web. En SvelteKit 2, enviar una solicitud GET con un cuerpo, por ejemplo, `{}` a una aplicación Sveltekit creada y vista previa/alojada arroja `La solicitud con el método GET/HEAD no puede tener cuerpo.` y bloquea la vista previa/alojamiento. Después de que esto suceda, se debe reiniciar manualmente la aplicación. Las solicitudes de `TRACE` también provocarán que la aplicación falle. Las páginas prerenderizadas y las aplicaciones SvelteKit 1 no se ven afectadas. `@sveltejs/adapter-node` versiones 2.1.2, 3.0.3 y 4.0.1 y `@sveltejs/kit` versión 2.4.3 contienen un parche para este problema.

24 Jan 2024, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-24 17:15

Updated : 2024-02-05 16:50


NVD link : CVE-2024-23641

Mitre link : CVE-2024-23641

CVE.ORG link : CVE-2024-23641


JSON object : View

Products Affected

svelte

  • kit
  • adapter-node
CWE
NVD-CWE-noinfo CWE-20

Improper Input Validation