{"answers":{"affected":"9 open source packages ship an affected version, including github.com/CosmWasm/wasmd.","exploited":"There is no known exploitation of GHSA-79xg-q4qm-7v9w in the wild and no public exploit code.","fix":"Upgrade github.com/CosmWasm/wasmd to a fixed version for your release line: 0.53.3, 0.54.1, 0.55.1 or 0.60.1.","what":"GHSA-79xg-q4qm-7v9w is a vulnerability in github.com/CosmWasm/wasmd, published on 11 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-79xg-q4qm-7v9w and fix it if it is affected.\n\nWhat it is: GHSA-79xg-q4qm-7v9w is a vulnerability in github.com/CosmWasm/wasmd, published on 11 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-79xg-q4qm-7v9w in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/CosmWasm/wasmd (Go): affected from 0.51.0; fixed in 0.53.3, 0.54.1, 0.55.1, 0.60.1\n- github.com/CosmWasm/wasmd (Go): affected from 0.51.0; fixed in 0.53.3\n- github.com/CosmWasm/wasmd (Go): affected from 0.51.0; fixed in 0.53.3\n- github.com/CosmWasm/wasmd (Go): affected from 0.54.0; fixed in 0.54.1\n- github.com/CosmWasm/wasmd (Go): affected from 0.54.0; fixed in 0.54.1\n- github.com/CosmWasm/wasmd (Go): affected from 0.55.0; fixed in 0.55.1\n- github.com/CosmWasm/wasmd (Go): affected from 0.55.0; fixed in 0.55.1\n- github.com/CosmWasm/wasmd (Go): affected from 0.60.0; fixed in 0.60.1\n- github.com/CosmWasm/wasmd (Go): affected from 0.60.0; fixed in 0.60.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-79xg-q4qm-7v9w/ (Markdown: https://insights.sbomify.com/GHSA-79xg-q4qm-7v9w/index.md)","id":"GHSA-79xg-q4qm-7v9w","markdown":"https://insights.sbomify.com/GHSA-79xg-q4qm-7v9w/index.md","name":"GHSA-79xg-q4qm-7v9w","record":{"aliases":["GO-2025-3755"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"CosmWasm blockchain node","requires_auth":"low_privilege","summary":"Improper error handling allows IBC channels to open despite contract errors, bypassing intended security checks in CosmWasm nodes.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"# 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 \u003e= 0.51.0 \u003c 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 \u003chttps://hackerone.com/cosmos\u003e.\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: \u003chttps://github.com/interchainio/security/blob/0295254e8645301ccb606d46108a45cede0a73e0/resources/CLASSIFICATION_MATRIX.md\u003e","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"CWA-2025-006: wasmd's improper error handling may lead to IBC channel opening despite error","id":"GHSA-79xg-q4qm-7v9w","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2025"},"n_packages":9,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.53.3","0.54.1","0.55.1","0.60.1"],"introduced":["0.51.0","0.54.0","0.55.0","0.60.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":"pkg:golang/github.com/CosmWasm/wasmd","source":"GO-2025-3755"},{"ecosystem":"Go","fixed":["0.53.3"],"introduced":["0.51.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":null,"source":"GHSA-79xg-q4qm-7v9w"},{"ecosystem":"Go","fixed":["0.53.3"],"introduced":["0.51.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":"pkg:golang/github.com/CosmWasm/wasmd","source":"GHSA-79xg-q4qm-7v9w"},{"ecosystem":"Go","fixed":["0.54.1"],"introduced":["0.54.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":null,"source":"GHSA-79xg-q4qm-7v9w"},{"ecosystem":"Go","fixed":["0.54.1"],"introduced":["0.54.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":"pkg:golang/github.com/CosmWasm/wasmd","source":"GHSA-79xg-q4qm-7v9w"},{"ecosystem":"Go","fixed":["0.55.1"],"introduced":["0.55.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":null,"source":"GHSA-79xg-q4qm-7v9w"},{"ecosystem":"Go","fixed":["0.55.1"],"introduced":["0.55.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":"pkg:golang/github.com/CosmWasm/wasmd","source":"GHSA-79xg-q4qm-7v9w"},{"ecosystem":"Go","fixed":["0.60.1"],"introduced":["0.60.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":null,"source":"GHSA-79xg-q4qm-7v9w"},{"ecosystem":"Go","fixed":["0.60.1"],"introduced":["0.60.0"],"last_affected":[],"package":"github.com/CosmWasm/wasmd","purl":"pkg:golang/github.com/CosmWasm/wasmd","source":"GHSA-79xg-q4qm-7v9w"}],"products":null,"published":"2025-06-11","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Improper error handling allows IBC channels to open despite contract errors, bypassing intended security checks in CosmWasm nodes.","url":"https://insights.sbomify.com/GHSA-79xg-q4qm-7v9w/"}