GitHub Advisoryadvisory · crates.io, Go
GHSA-mx2j-7cmv-353c wasmvm: Malicious smart contract can slow down block production
MEDIUM
Official page ↗
- Ecosystem
- crates.io, Go
- Packages
- cosmwasm-vm, github.com/CosmWasm/wasmvm, github.com/CosmWasm/wasmvm/v2
- Severity
- Moderate
- Reviewed
- 2025-02-04
Affected packages
• crates.io cosmwasm-vm: >= 2.2.0, < 2.2.1 → fixed in 2.2.1
• crates.io cosmwasm-vm: >= 2.1.0, < 2.1.6 → fixed in 2.1.6
• crates.io cosmwasm-vm: >= 2.0.0, < 2.0.9 → fixed in 2.0.9
• crates.io cosmwasm-vm: < 1.5.10 → fixed in 1.5.10
• Go github.com/CosmWasm/wasmvm: >= 0.1.0, < 1.5.8 → fixed in 1.5.8
• Go github.com/CosmWasm/wasmvm/v2: >= 2.2.0, < 2.2.2 → fixed in 2.2.2
• Go github.com/CosmWasm/wasmvm/v2: >= 2.1.0, < 2.1.5 → fixed in 2.1.5
• Go github.com/CosmWasm/wasmvm/v2: >= 2.0.0, < 2.0.6 → fixed in 2.0.6
• Go github.com/CosmWasm/wasmvm: < 0.0.0-20250204093451-1f4db20199b8 → fixed in 0.0.0-20250204093451-1f4db20199b8
• Go github.com/CosmWasm/wasmvm/v2: < 2.0.0-20250204103256-d62c3b826a9d → fixed in 2.0.0-20250204103256-d62c3b826a9d
• Go github.com/CosmWasm/wasmvm: >= 1.5.8-0, < 1.5.8-0.20250204093451-1f4db20199b8 → fixed in 1.5.8-0.20250204093451-1f4db20199b8
• Go github.com/CosmWasm/wasmvm/v2: >= 2.0.6-0, < 2.0.6-0.20250204103256-d62c3b826a9d → fixed in 2.0.6-0.20250204103256-d62c3b826a9d
Description
CWA-2025-002
Severity
Medium (Moderate + Likely)[^1]
Affected versions:
• wasmvm >= 2.2.0, = 2.1.0, = 2.0.0, .
Timeline
• 2024-11-24: Confio receives a report through the Cosmos bug bounty program maintained by Amulet.
• 2024-12-20: Confio security contributors confirm the report.
• 2024-01-27: Confio developed the patch internally.
• 2025-02-04: Patch gets released.
[^1]: following Amulet's Severity Classification Framework ACMv1.2: https://github.com/interchainio/security/blob/0295254e8645301ccb606d46108a45cede0a73e0/resources/CLASSIFICATION_MATRIX.md
References
- https://github.com/CosmWasm/wasmvm/security/advisories/GHSA-mx2j-7cmv-353c web
- https://github.com/CosmWasm/cosmwasm/commit/2b7f2faa57a1efc8207455c37f87f1eee6035a27 web
- https://github.com/CosmWasm/cosmwasm/commit/a5d62f65b5eb947ebe40e2085b1c48a9d0a244d0 web
- https://github.com/CosmWasm/cosmwasm/commit/d6143b0aff16a39bbea4be37597d8e9d9b213d3b web
- https://github.com/CosmWasm/cosmwasm/commit/f0c04c03cbe2557634c1bbcdc2ce203fe7caca58 web
- https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2025-002.md web
- https://github.com/CosmWasm/wasmvm package
- https://pkg.go.dev/vuln/GO-2025-3449 web