@expo/spawn-async is vulnerable to Denial of Service
65
Medium Risk
The spawnAsync helper buffers child stdout and stderr into in-memory strings while a subprocess runs. Before the fix, each chunk was appended without a byte limit, so a child that prints very large or continuous output could grow unbounded buffers in the parent process. That can exhaust memory or exceed V8 maximum string length and crash the host Node application. The fix collects output in a bounded sliding window, enforces an optional maxBuffer limit with ERR_CHILD_PROCESS_STDIO_MAXBUFFER, and applies a default cap tied to MAX_STRING_LENGTH with lazy stdout and stderr accessors.
You are affected if you are using a version that falls within the vulnerable range.
@expo/spawn-async is vulnerable to Denial of Service in versions 1.2.8 - 1.7.2.
Upgrade the @expo/spawn-async library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant