Advisory

GHSA-75qh-gg76-p2w4

Also known as: GO-2024-3101, RUSTSEC-2024-0366

Summary

CWA-2023-004: Excessive number of function parameters in compiled Wasm

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.

For more information, see CWA-2023-004.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-27 19:55 UTC
Modified
2025-10-28 06:29 UTC

Affected packages and fixes

cosmwasm-vm

crates.io · All systems

Affected

  • introduced 0, fixed 1.2.8 (semver)

Fixed versions

1.2.8

Fix

  • Fixed version 1.2.8
    cargo update -p cosmwasm-vm --precise 1.2.8

cosmwasm-vm

crates.io · All systems

Affected

  • introduced 1.3.0, fixed 1.3.4 (semver)

Fixed versions

1.3.4

Fix

  • Fixed version 1.3.4
    cargo update -p cosmwasm-vm --precise 1.3.4

cosmwasm-vm

crates.io · All systems

Affected

  • introduced 1.4.0, fixed 1.4.2 (semver)

Fixed versions

1.4.2

Fix

  • Fixed version 1.4.2
    cargo update -p cosmwasm-vm --precise 1.4.2

cosmwasm-vm

crates.io · All systems

Affected

  • introduced 1.5.0, fixed 1.5.1 (semver)

Fixed versions

1.5.1

Fix

  • Fixed version 1.5.1
    cargo update -p cosmwasm-vm --precise 1.5.1

github.com/CosmWasm/wasmvm

Go · All systems

Affected

  • introduced 0, fixed 1.2.5 (semver)

Fixed versions

1.2.5

Fix

github.com/CosmWasm/wasmvm

Go · All systems

Affected

  • introduced 1.3.0, fixed 1.3.1 (semver)

Fixed versions

1.3.1

Fix

github.com/CosmWasm/wasmvm

Go · All systems

Affected

  • introduced 1.4.0, fixed 1.4.2 (semver)

Fixed versions

1.4.2

Fix

github.com/CosmWasm/wasmvm

Go · All systems

Affected

  • introduced 1.5.0, fixed 1.5.1 (semver)

Fixed versions

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences