{"answers":{"affected":"24 open source packages ship an affected version, including github.com/cosmos/ibc-go, github.com/cosmos/ibc-go/v2 and github.com/cosmos/ibc-go/v3.","exploited":"There is no known exploitation of GHSA-4wf3-5qj9-368v in the wild and no public exploit code.","fix":"Upgrade github.com/cosmos/ibc-go to 7.10.0 or later.","what":"GHSA-4wf3-5qj9-368v is an unsafe deserialization vulnerability in github.com/cosmos/ibc-go, published on 12 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-4wf3-5qj9-368v and fix it if it is affected.\n\nWhat it is: GHSA-4wf3-5qj9-368v is an unsafe deserialization vulnerability in github.com/cosmos/ibc-go, published on 12 Mar 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-4wf3-5qj9-368v in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cosmos/ibc-go (Go): affected all versions; no fix listed\n- github.com/cosmos/ibc-go (Go): affected all versions; fixed in 7.10.0\n- github.com/cosmos/ibc-go (Go): affected all versions; fixed in 7.10.0\n- github.com/cosmos/ibc-go/v2 (Go): affected all versions; no fix listed\n- github.com/cosmos/ibc-go/v2 (Go): affected all versions; fixed in 7.10.0\n- github.com/cosmos/ibc-go/v2 (Go): affected all versions; fixed in 7.10.0\n- github.com/cosmos/ibc-go/v3 (Go): affected all versions; no fix listed\n- github.com/cosmos/ibc-go/v3 (Go): affected all versions; fixed in 7.10.0\n- github.com/cosmos/ibc-go/v3 (Go): affected all versions; fixed in 7.10.0\n- github.com/cosmos/ibc-go/v4 (Go): affected all versions; no fix listed\n- github.com/cosmos/ibc-go/v4 (Go): affected all versions; fixed in 7.10.0\n- github.com/cosmos/ibc-go/v4 (Go): affected all versions; fixed in 7.10.0\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-4wf3-5qj9-368v/ (Markdown: https://insights.sbomify.com/GHSA-4wf3-5qj9-368v/index.md)","id":"GHSA-4wf3-5qj9-368v","markdown":"https://insights.sbomify.com/GHSA-4wf3-5qj9-368v/index.md","name":"GHSA-4wf3-5qj9-368v","record":{"aliases":["GO-2025-3517"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"IBC-Go library","requires_auth":"low_privilege","summary":"Non-deterministic JSON unmarshalling in IBC-Go allows attackers to halt blockchain networks by opening channels.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Name: ISA-2025-001: Non-deterministic JSON Unmarshalling of IBC Acknowledgement can result in a chain halt\nComponent: IBC-Go\nCriticality: High (Considerable Impact; Likely Likelihood per [ACMv1.2](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX.md))\nAffected versions: IBC-Go \u003e= v7; Earlier IBC-Go versions MAY also be affected.\nAffected users: Validators, Full nodes, IBC Middleware authors\n\n### Description\n\nAn issue was discovered in IBC-Go's deserialization of acknowledgements that results in non-deterministic behavior which can halt a chain. Any user that can open an IBC channel can introduce this state to the chain. The following patch is in addition to the previous patch which now extends the same protection to all applications beyond transfer.\n\n### Patches\n\nThe new IBC-Go releases below address this issue:\n\n* [v7.10.0](https://github.com/cosmos/ibc-go/releases/tag/v7.10.0)\n* [v8.7.0](https://github.com/cosmos/ibc-go/releases/tag/v8.7.0)\n\n### Workarounds\n\nTo prevent this state from being introduced to a chain, it is possible to permission Channel Opening as a workaround.\n\n### Notes on Re-Release\n\nThis is an extension of the previous patch, please update to the latest patch to get full coverage against the reported issue.\n\n#### Is this state breaking?\n\nThis patch is not state breaking unless an exploit is submitted before the patch is applied across the network in which case the chain will halt just as if it was unpatched. Thus, you can safely apply this patch in a rolling manner and encourage validators to patch as soon as possible in order to prevent any chain halts (and we've already cut new versions of these for you).\n\n#### Testing we have done to gain more confidence in this release\n* In addition to testing ibc-go, we also did the following:\n* Tested PFM v7 and v8 after bumping dependencies\n* Tested ibc-hooks v7 and v8 after bumping dependencies\n* Ran a patched node on Cosmos Hub Mainnet and triggered failing and successful transactions that used PFM\n* Ran a patched node on Osmosis mainnet and triggered failing and successful transactions that used ibc-hooks\nThis is a more thorough process than before, so we have higher confidence.\n\nThis issue was reported to the Cosmos Bug Bounty Program by swelf19 on HackerOne on February 18, 2025. If you believe you have found a bug in the Interchain Stack or would like to contribute to the program by reporting a bug, please see https://hackerone.com/cosmos.\n\nIf you have questions about Interchain security efforts, please reach out to our official communication channel at [security@interchain.io](mailto:security@interchain.io). For more information about the Interchain Foundation’s engagement with Amulet, and to sign up for security notification emails, please see https://github.com/interchainio/security.  \n\nA Github Security Advisory for this issue is available in the IBC-Go [repository](https://github.com/cosmos/ibc-go/security/advisories/GHSA-4wf3-5qj9-368v).","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":"IBC-Go: Non-deterministic JSON Unmarshalling of IBC Acknowledgement can result in a chain halt","id":"GHSA-4wf3-5qj9-368v","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":24,"n_references":null,"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go","purl":"pkg:golang/github.com/cosmos/ibc-go","source":"GO-2025-3517"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go","purl":"pkg:golang/github.com/cosmos/ibc-go","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v2","purl":"pkg:golang/github.com/cosmos/ibc-go/v2","source":"GO-2025-3517"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v2","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v2","purl":"pkg:golang/github.com/cosmos/ibc-go/v2","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v3","purl":"pkg:golang/github.com/cosmos/ibc-go/v3","source":"GO-2025-3517"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v3","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v3","purl":"pkg:golang/github.com/cosmos/ibc-go/v3","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":"pkg:golang/github.com/cosmos/ibc-go/v4","source":"GO-2025-3517"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":"pkg:golang/github.com/cosmos/ibc-go/v4","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v5","purl":"pkg:golang/github.com/cosmos/ibc-go/v5","source":"GO-2025-3517"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v5","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v5","purl":"pkg:golang/github.com/cosmos/ibc-go/v5","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v6","purl":"pkg:golang/github.com/cosmos/ibc-go/v6","source":"GO-2025-3517"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v6","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v6","purl":"pkg:golang/github.com/cosmos/ibc-go/v6","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v7","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v7","purl":"pkg:golang/github.com/cosmos/ibc-go/v7","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["7.10.0"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v7","purl":"pkg:golang/github.com/cosmos/ibc-go/v7","source":"GO-2025-3517"},{"ecosystem":"Go","fixed":["8.7.0"],"introduced":["8.0.0-alpha.1"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v8","purl":null,"source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["8.7.0"],"introduced":["8.0.0-alpha.1"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v8","purl":"pkg:golang/github.com/cosmos/ibc-go/v8","source":"GHSA-4wf3-5qj9-368v"},{"ecosystem":"Go","fixed":["8.7.0"],"introduced":["8.0.0-alpha.1"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v8","purl":"pkg:golang/github.com/cosmos/ibc-go/v8","source":"GO-2025-3517"}],"products":null,"published":"2025-03-12","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":"Non-deterministic JSON unmarshalling in IBC-Go allows attackers to halt blockchain networks by opening channels.","url":"https://insights.sbomify.com/GHSA-4wf3-5qj9-368v/"}