GitHub Advisoryadvisory · Go
GHSA-23qp-3c2m-xx6w wasmvm: Malicious smart contract can crash the chain
MEDIUM
Official page ↗
- Ecosystem
- Go
- Packages
- github.com/CosmWasm/wasmvm, github.com/CosmWasm/wasmvm/v2
- Severity
- Moderate
- Weaknesses
- CWE-476
- Reviewed
- 2025-02-04
Affected packages
• Go github.com/CosmWasm/wasmvm: < 1.5.8 → fixed in 1.5.8
• Go github.com/CosmWasm/wasmvm/v2: >= 2.0.0, < 2.0.6 → fixed in 2.0.6
• Go github.com/CosmWasm/wasmvm/v2: >= 2.1.0, < 2.1.5 → fixed in 2.1.5
• Go github.com/CosmWasm/wasmvm/v2: >= 2.2.0, < 2.2.2 → fixed in 2.2.2
Description
CWA-2025-001
Severity
Medium (Moderate + Likely)[^1]
Affected versions:
• wasmvm >= 2.2.0, = 2.1.0, = 2.0.0, .
Timeline
• 2024-11-25: Confio receives a report through the Cosmos bug bounty program maintained by Amulet.
• 2024-11-28: Confio security contributors confirm the report.
• 2024-11-28: 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
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://github.com/CosmWasm/wasmvm/security/advisories/GHSA-23qp-3c2m-xx6w web
- https://github.com/CosmWasm/wasmvm/commit/0aefa4c378457aeb3c07e7975b875be38872c56d web
- https://github.com/CosmWasm/wasmvm/commit/1151bc6df7d02d1889b8da37cf8510eaf4198eea web
- https://github.com/CosmWasm/wasmvm/commit/8d44a286fabc793a2fba93752e58cd0fd5b88a2d web
- https://github.com/CosmWasm/wasmvm/commit/d4ff2adee44e6b9f7415a5dfbb3de745ab9b7678 web
- https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2025-001.md web
- https://github.com/CosmWasm/wasmvm package
- https://pkg.go.dev/vuln/GO-2025-3448 web