SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From 2.49.0 to 2.49.4, the experimental form remote function uses a binary data format containing a representation of submitted form data. A specially-crafted payload can cause the server to allocate a large amount of memory, causing DoS via memory exhaustion. This vulnerability is fixed in 2.49.5.
SvelteKit versions 2.49.0-2.49.4 contain a denial-of-service vulnerability in the experimental form remote function where specially-crafted payloads cause excessive memory allocation. The vulnerability is resolved in version 2.49.5 and later.
تؤثر هذه الثغرة على تطبيقات الويب المبنية على SvelteKit التي تستخدم دالة النموذج البعيد التجريبية. يمكن لمهاجم إرسال حمولة مصممة بعناية تسبب تخصيص ذاكرة كبير على الخادم، مما يؤدي إلى حجب الخدمة. التأثير محدود بالتطبيقات التي تستخدم هذه الميزة التجريبية بشكل نشط.
إصدارات SvelteKit من 2.49.0 إلى 2.49.4 تحتوي على ثغرة حجب الخدمة في دالة النموذج البعيد التجريبية حيث تسبب الحمولات المصممة بعناية تخصيص ذاكرة مفرط. يتم حل الثغرة في الإصدار 2.49.5 وما بعده.
Immediately upgrade SvelteKit to version 2.49.5 or later. If immediate upgrade is not possible, disable the experimental form remote function or implement strict input validation and payload size limits on form submissions.
قم بترقية SvelteKit فوراً إلى الإصدار 2.49.5 أو أحدث. إذا لم يكن الترقية الفورية ممكنة، قم بتعطيل دالة النموذج البعيد التجريبية أو تطبيق التحقق الصارم من المدخلات وحدود حجم الحمولة على إرسالات النماذج.