CWA-2023-004: Excessive number of function parameters in compiled Wasm
Moderate severity
GitHub Reviewed
Published
Aug 27, 2024
to the GitHub Advisory Database
•
Updated Dec 23, 2024
Description
Published to the GitHub Advisory Database
Aug 27, 2024
Reviewed
Aug 27, 2024
Last updated
Dec 23, 2024
A specifically crafted Wasm file can cause the VM to consume excessive amounts of memory when compiling a contract.
This can lead to high memory usage, slowdowns, potentially a crash and can poison a lock in the VM,
preventing any further interaction with contracts.
For more information, see CWA-2023-004.
References