VDB
Sign up
—

GO-2024-3101

Excessive number of function parameters in compiled Wasm in github.com/CosmWasm/wasmvm

Quick fix

GO-2024-3101 — github.com/CosmWasm/wasmvm: upgrade to the fixed version with the command below.

go get github.com/CosmWasm/wasmvm@v1.2.5

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/CosmWasm/wasmvm
Introduced in: 0Fixed in: 1.2.5
Fixgo get github.com/CosmWasm/wasmvm@v1.2.5

References