Advisory

GO-2024-3101

Also known as: GHSA-75qh-gg76-p2w4, RUSTSEC-2024-0366

Summary

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

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.

Severity

Not rated by the source.

Dates

Published
2024-12-20 20:36 UTC
Modified
2026-03-03 04:55 UTC

Affected packages and fixes

github.com/CosmWasm/wasmvm

Go · All systems

Affected

  • introduced 0, fixed 1.2.5, introduced 1.3.0, fixed 1.3.1, introduced 1.4.0, fixed 1.4.2, introduced 1.5.0, fixed 1.5.1 (semver)

Fixed versions

1.2.5, 1.3.1, 1.4.2, 1.5.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences