Description
Versions of the package @tootallnate/once before 3.0.1 are vulnerable to Incorrect Control Flow Scoping in promise resolving when AbortSignal option is used. The Promise remains in a permanently pending state after the signal is aborted, causing any await or .then() usage to hang indefinitely. This can cause a control-flow leak that can lead to stalled requests, blocked workers, or degraded application availability.
Problem types
Incorrect Control Flow Scoping
Credits
Nanak Singh Khurana
References
security.snyk.io/vuln/SNYK-JS-TOOTALLNATEONCE-15250612
github.com/TooTallNate/once/issues/8
github.com/...ommit/b9f43cc5259bee2952d91ad3cdbd201a82df448a