wasmparser is vulnerable to Denial of Service (DoS)
53
CVSS Score
Medium
Denial of Service (DoS)
The component-model validator in wasmparser accepts fixed-length list types without enforcing an upper bound on their declared element count, checking only that the count is non-zero. A crafted component can declare a fixed-length list with an element count as large as 4294967295, which passes validation and then flows into consumers' canonical ABI size calculations. Those oversized counts overflow the downstream size math and lead to denial of service in tools that enable the component-model fixed-length lists feature. The fix caps the accepted element count at 1 GiB (1073741824) during validation.
Upgrade the wasmparser library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the component-model fixed-length lists feature is enabled during validation.
0.230.0 - 0.252.0
Fixed in 0.253.0wasmparser is vulnerable to Denial of Service (DoS) in versions 0.230.0 - 0.252.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.