quickjs-wasi is vulnerable to Uncontrolled Resource Consumption
50
Medium Risk
The runtime creates its QuickJS instance with the engine's default allocator, which reports an allocation size of zero on wasm32-wasi. Allocations are therefore never counted against the memoryLimit option, so the limit never triggers. Guest code can retain many small allocations and grow WASM memory to gigabytes under a limit of a few megabytes, exhausting host memory. The fix creates the runtime with allocator functions that report real allocation sizes.
You are affected if you are using a version that falls within the vulnerable range and you rely on the memoryLimit option to bound memory for untrusted guest code.
quickjs-wasi is vulnerable to Uncontrolled Resource Consumption in versions 0.1.0 - 3.3.0.
Upgrade the quickjs-wasi 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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant