GHSA-79xg-q4qm-7v9w: CWA-2025-006 Wasmd's Improper Error Handling May Vulnerability
HIGHGHSA-79xg-q4qm-7v9w is a HIGH wasmd's improper error handling may vulnerability (General Security Weakness) affecting CWA-2025-006 libraries in the Go ecosystem. The issue involves wasmd's improper error handling may lead to ibc channel opening despite error. Remediation is available by upgrading affected packages to version 0.60.1, 0.55.1, 0.54.1, 0.53.3.
GHSA-79xg-q4qm-7v9w at a Glance
How to Fix GHSA-79xg-q4qm-7v9w
To remediate this vulnerability, upgrade all affected CWA-2025-006 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/CosmWasm/wasmd to 0.60.1
Upgrade github.com/CosmWasm/wasmd to 0.55.1
Upgrade github.com/CosmWasm/wasmd to 0.54.1
Upgrade github.com/CosmWasm/wasmd to 0.53.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/CosmWasm/wasmd
How to Check if You Are Affected
To determine whether your application is affected by GHSA-79xg-q4qm-7v9w, inspect your project dependencies for CWA-2025-006:
inspect dependencies for github.com/CosmWasm/wasmd
Analyze the terminal output to locate any version of CWA-2025-006 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.60.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In CWA-2025-006, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-79xg-q4qm-7v9w Affected CWA-2025-006 Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/CosmWasm/wasmd
|
Go |
≥ 0.60.0
< 0.60.1
All 1 versions
0.60.0
|
0.60.1
|
|
github.com/CosmWasm/wasmd
|
Go |
≥ 0.55.0
< 0.55.1
|
0.55.1
|
|
github.com/CosmWasm/wasmd
|
Go |
≥ 0.54.0
< 0.54.1
|
0.54.1
|
|
github.com/CosmWasm/wasmd
|
Go |
≥ 0.51.0
< 0.53.3
|
0.53.3
|
References
Frequently Asked Questions
What is GHSA-79xg-q4qm-7v9w?
Which CWA-2025-006 versions are affected?
What version fixes GHSA-79xg-q4qm-7v9w?
Is github.com/CosmWasm/wasmd affected?
What CWE is associated with GHSA-79xg-q4qm-7v9w?
How can I check Go dependencies for GHSA-79xg-q4qm-7v9w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-79xg-q4qm-7v9w",
"modified" : "2025-06-11T14:44:39Z",
"published" : "2025-06-11T14:44:38Z",
"aliases" : [ ],
"summary" : "CWA-2025-006: wasmd's improper error handling may lead to IBC channel opening despite error",
"details" : "# CWA-2025-006: Improper error handling may lead to IBC channel opening despite error\n\n**Severity**\n\nHigh (Considerable + Likely)[^1]\n\n**Affected versions:**\n\n- wasmd 0.60.0\n- wasmd >= 0.51.0 < 0.55.1\n\n**Patched versions:**\n\n- wasmd 0.60.1, 0.55.1, 0.54.1, 0.53.3\n\n## Description of the bug\n\nA contract erroring during IBC channel opening does not prevent the channel from opening.\n\n## Applying the patch\n\nThe patch will be shipped in a wasmd release. You will also have to update `libwasmvm` if you build statically.\nIf you already use the latest / close to latest wasmd, you can update more or less as follows:\n\n1. Check the current wasmd version: `go list -m github.com/CosmWasm/wasmd`\n2. Bump the `github.com/CosmWasm/wasmd` dependency in your go.mod to 0.60.1 (Cosmos SDK 0.53 compatible), 0.55.1 (Cosmos SDK 0.50 compatible), 0.54.1 or 0.53.3; `go mod tidy`; commit.\n3. If you use the static libraries `libwasmvm_muslc.aarch64.a`/`libwasmvm_muslc.x86_64.a`, make sure that you use the same version as your wasmvm version.\n4. Check the updated wasmd version: `go list -m github.com/CosmWasm/wasmd` and ensure you see 0.60.1, 0.55.1, 0.54.1 or 0.53.3.\n5. Follow your regular practices to deploy chain upgrades.\n\nThe patch is consensus breaking.\n\n## Acknowledgement\n\nThis problem was discovered during an audit of the CosmWasm stack performed by Sherlock and funded by ICF/ICL in Q1 2025. Thank you for that work!\n\nIf you believe you have found a bug in the Interchain Stack or would like to contribute to the\nprogram by reporting a bug, please see <https://hackerone.com/cosmos>.\n\n## Timeline\n\n- 2025-03-03: Auditor informs Confio about this issue.\n- 2025-04-10: Confio developed the patch internally.\n- 2025-06-05: Upcoming patch is announced.\n- 2025-06-10: Patch is released.\n\n[^1]: following Amulet's Severity Classification Framework ACMv1.2: <https://github.com/interchainio/security/blob/0295254e8645301ccb606d46108a45cede0a73e0/resources/CLASSIFICATION_MATRIX.md>",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/CosmWasm/wasmd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.60.0"
}, {
"fixed" : "0.60.1"
} ]
} ],
"versions" : [ "0.60.0" ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/CosmWasm/wasmd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.55.0"
}, {
"fixed" : "0.55.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/CosmWasm/wasmd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.54.0"
}, {
"fixed" : "0.54.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/CosmWasm/wasmd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.51.0"
}, {
"fixed" : "0.53.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/CosmWasm/wasmd/security/advisories/GHSA-79xg-q4qm-7v9w"
}, {
"type" : "WEB",
"url" : "https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2025-006.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/CosmWasm/wasmd"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-11T14:44:38Z",
"nvd_published_at" : null
}
}