GO-2024-3101
MEDIUM 5.3CVSS 3.1CWA-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
- GHSA-75qh-gg76-p2w4RUSTSEC-2024-0366
- Sources
- OSV GHSA-75qh-gg76-p2w4JSONOSVJSONOSV RUSTSEC-2024-0366JSON
Scores
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed 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
- https://forum.cosmos.network/t/high-severity-security-patch-upcoming-on-wed-10th-cwa-2023-004-brought-to-you-by-certik-and-confio/12840 · WEB
- https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md · WEB, ADVISORY
- https://github.com/advisories/GHSA-75qh-gg76-p2w4 · ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2024-0366.html · WEB, ADVISORY
- https://www.certik.com/resources/blog/risk-and-security-enhancement-for-app-chains-an-in-depth-writeup-of-cwa-2023 · WEB
- https://crates.io/crates/cosmwasm-vm · PACKAGE
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)