WebAssembly wabt
cpe:2.3:a:webassembly:wabt:*:*:*:*:*:*:*
- <= 1.0.37
A resource consumption vulnerability has been identified in WebAssembly Wabt versions through 1.0.37. The issue arises in the function 'OnDataCount' within 'src/interp/binary-reader-interp.cc', where improper management of data count leads to excessive memory allocation. This vulnerability requires local exploitation and can cause a denial-of-service condition by exhausting available system resources.
Exploitation of this vulnerability leads to a denial-of-service condition, causing the application to run out of memory and potentially terminate prematurely.
The vulnerability can be reproduced by compiling Wabt with AddressSanitizer enabled, which helps detect memory allocation issues. After building Wabt with the appropriate flags, the 'read_binary_interp_fuzzer' can be created and executed using a crafted WebAssembly file that triggers the 'OnDataCount' function. This process involves downloading the fuzzing harness from the Wabt repository, compiling it with Clang, and then running it with a specific input file that causes the out-of-memory error.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.