sveltejs/kit · Security

Memory exhaustion in SvelteKit remote form deserialization (experimental only)

GHSA ID
GHSA-vrhm-gvg7-fpcf
Severity
medium
Published
Updated
CVSS v4
4.6 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

Description

Versions of @sveltejs/kit prior to 2.52.2 with remote functions enabled can be vulnerable to memory exhaustion. Malformed form data can cause the server process to crash due to excessive memory allocation, resulting in denial of service.

Only applications using both experimental.remoteFunctions and form are vulnerable.

CWEs

References