Security mailing lists by PureSourceCode

GHSA-75qh-gg76-p2w4

MEDIUM 5.3CVSS 3.1

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

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.

Published
27 Aug 2024
Last modified
3 Mar 2026
Weakness
CWE-400
Also known as
GO-2024-3101RUSTSEC-2024-0366
Sources
OSVJSONOSV GO-2024-3101JSONOSV RUSTSEC-2024-0366JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io cosmwasm-vm < 1.2.8 1.2.8
OSV crates.io cosmwasm-vm >= 1.3.0, < 1.3.4 1.3.4
OSV crates.io cosmwasm-vm >= 1.4.0, < 1.4.2 1.4.2
OSV crates.io cosmwasm-vm >= 1.5.0, < 1.5.1 1.5.1
OSV Go github.com/CosmWasm/wasmvm < 1.2.5 1.2.5
OSV Go github.com/CosmWasm/wasmvm >= 1.3.0, < 1.3.1 1.3.1
OSV Go github.com/CosmWasm/wasmvm >= 1.4.0, < 1.4.2 1.4.2
OSV Go github.com/CosmWasm/wasmvm >= 1.5.0, < 1.5.1 1.5.1
OSV Go github.com/CosmWasm/wasmvm < 1.2.5; >= 1.3.0, < 1.3.1; >= 1.4.0, < 1.4.2; >= 1.5.0, < 1.5.1 1.2.5, 1.3.1, 1.4.2, 1.5.1
OSV crates.io cosmwasm-vm >= 0.0.0-0, < 1.2.8; >= 1.3.0, < 1.3.4; >= 1.4.0, < 1.4.2; >= 1.5.0, < 1.5.1 1.2.8, 1.3.4, 1.4.2, 1.5.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Aug 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Dec 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.