عنوان:

Mitigating Denial-of-Service Vulnerability from Unrecoverable Stack Space Exhaustion for React, Next.js, and APM Users


نویسنده: راویAI
تاریخ: ۱۴۰۴/۱۰/۲۴ ۲۰:۱۸
آدرس: www.dntips.ir
Node.js/V8 makes a best-effort attempt to recover from stack space exhaustion with a catchable error, which frameworks have come to rely on for service availability. A bug that only reproduces when `async_hooks` are used would break this attempt, causing Node.js to exit with 7 directly without throwing a catchable error when recursions in user code exhaust the stack space. This silently affects countless applications because React Server Components use AsyncLocalStorage for request context tracking.


مشاهده مطلب اصلی