Improper resource allocation In nodejs
Description
We have identified a bug in Node.js error handling where "Maximum call stack size exceeded" errors become uncatchable when async_hooks.createHook() is enabled. Instead of reaching process.on('uncaughtException'), the process terminates, making the crash unrecoverable. Applications that rely on AsyncLocalStorage (v22, v20) or async_hooks.createHook() (v24, v22, v20) become vulnerable to denial-of-service crashes triggered by deep recursion under specific conditions.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rpm rhel9 | 1:20.20.0-1.module+el9.7.0+23895+0637d423 | ||
rpm rhel10 | 1:22.22.0-3.el10_1 | ||
debian 12 | 18.20.4+dfsg-1~deb12u2 | ||
debian 13 | 20.19.2+dfsg-1+deb13u1 | ||
debian 14 | 22.22.0+dfsg+~cs22.19.6-1 | ||
alpine v3.23 | 24.13.0-r0 | ||
alpine v3.22 | 22.22.0-r0 | ||
rpm rhel8 | 1:20.20.0-1.module+el8.10.0+23905+c49b2aec | ||
rpm rhel10 | 1:24.13.0-1.el10_1 | ||
alpine v3.21 | 22.22.2-r0 |
1-10 of 15
10
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9.
References
1.