{"answers":{"affected":"29 open source packages ship an affected version, including github.com/cosmos/ibc-go/v4, github.com/cosmos/ibc-go and github.com/cosmos/ibc-go/v2.","exploited":"There is no known exploitation of GHSA-qjcv-rx3v-7mvj in the wild and no public exploit code.","fix":"Upgrade github.com/cosmos/ibc-go/v4 to a fixed version for your release line: 4.1.3, 4.2.2, 4.3.1 or 4.4.1.","what":"GHSA-qjcv-rx3v-7mvj is a vulnerability in github.com/cosmos/ibc-go, published on 20 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-qjcv-rx3v-7mvj and fix it if it is affected.\n\nWhat it is: GHSA-qjcv-rx3v-7mvj is a vulnerability in github.com/cosmos/ibc-go, published on 20 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-qjcv-rx3v-7mvj in the wild and no public exploit code.\n\nAffected packages and fixed versions:\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 4.1.3\n- github.com/cosmos/ibc-go/v4 (Go): affected all versions; fixed in 4.1.3\n- github.com/cosmos/ibc-go/v4 (Go): affected from 4.2.0; fixed in 4.2.2\n- github.com/cosmos/ibc-go/v4 (Go): affected from 4.2.0; fixed in 4.2.2\n- github.com/cosmos/ibc-go/v4 (Go): affected from 4.3.0; fixed in 4.3.1\n- github.com/cosmos/ibc-go/v4 (Go): affected from 4.3.0; fixed in 4.3.1\n- github.com/cosmos/ibc-go/v4 (Go): affected from 4.4.0; fixed in 4.4.1\n- github.com/cosmos/ibc-go/v4 (Go): affected from 4.4.0; fixed in 4.4.1\n- github.com/cosmos/ibc-go (Go): affected all versions; no fix listed\n- github.com/cosmos/ibc-go (Go): affected all versions up to 1.5.0; no fix listed\n- github.com/cosmos/ibc-go (Go): affected all versions up to 1.5.0; no fix listed\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-qjcv-rx3v-7mvj/ (Markdown: https://insights.sbomify.com/GHSA-qjcv-rx3v-7mvj/index.md)","id":"GHSA-qjcv-rx3v-7mvj","markdown":"https://insights.sbomify.com/GHSA-qjcv-rx3v-7mvj/index.md","name":"GHSA-qjcv-rx3v-7mvj","record":{"aliases":["GO-2024-2874"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"yes","non_default_config":true,"product_category":"Go IBC library","requires_auth":"none","summary":"Attackers can steal funds by sending arbitrary transactions to target chains via IBC relaying flaws in specific fee-grant configurations.","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":"The ibc-go module is affected by the Inter-Blockchain Communication (IBC) protocol \"Huckleberry\" vulnerability. The vulnerability allowed an attacker to send arbitrary transactions onto target chains and trigger arbitrary state transitions, including but not limited to, theft of funds. It was possible to exploit this vulnerability in specific situations involving relaying packets in which the source chain is also the final destination chain. Affected networks are those that allow for fee grant capabilities and use a native Relayer (e.g., Osmosis and Juno).","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":"Inter-Blockchain Communication (IBC) protocol \"Huckleberry\" vulnerability in github.com/cosmos/ibc-go","id":"GHSA-qjcv-rx3v-7mvj","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2024"},"n_packages":29,"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-2024-2874"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.5.0"],"package":"github.com/cosmos/ibc-go","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.5.0"],"package":"github.com/cosmos/ibc-go","purl":"pkg:golang/github.com/cosmos/ibc-go","source":"GHSA-qjcv-rx3v-7mvj"},{"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-2024-2874"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.5.0"],"package":"github.com/cosmos/ibc-go/v2","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.5.0"],"package":"github.com/cosmos/ibc-go/v2","purl":"pkg:golang/github.com/cosmos/ibc-go/v2","source":"GHSA-qjcv-rx3v-7mvj"},{"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-2024-2874"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.4.0"],"package":"github.com/cosmos/ibc-go/v3","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.4.0"],"package":"github.com/cosmos/ibc-go/v3","purl":"pkg:golang/github.com/cosmos/ibc-go/v3","source":"GHSA-qjcv-rx3v-7mvj"},{"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-2024-2874"},{"ecosystem":"Go","fixed":["4.1.3"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["4.1.3"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":"pkg:golang/github.com/cosmos/ibc-go/v4","source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["4.2.2"],"introduced":["4.2.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["4.2.2"],"introduced":["4.2.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":"pkg:golang/github.com/cosmos/ibc-go/v4","source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["4.3.1"],"introduced":["4.3.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":"pkg:golang/github.com/cosmos/ibc-go/v4","source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["4.4.1"],"introduced":["4.4.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v4","purl":"pkg:golang/github.com/cosmos/ibc-go/v4","source":"GHSA-qjcv-rx3v-7mvj"},{"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-2024-2874"},{"ecosystem":"Go","fixed":["5.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v5","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["5.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v5","purl":"pkg:golang/github.com/cosmos/ibc-go/v5","source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["5.3.1"],"introduced":["5.3.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v5","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["5.3.1"],"introduced":["5.3.0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v5","purl":"pkg:golang/github.com/cosmos/ibc-go/v5","source":"GHSA-qjcv-rx3v-7mvj"},{"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-2024-2874"},{"ecosystem":"Go","fixed":["6.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v6","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["6.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v6","purl":"pkg:golang/github.com/cosmos/ibc-go/v6","source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["7.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v7","purl":null,"source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["7.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v7","purl":"pkg:golang/github.com/cosmos/ibc-go/v7","source":"GHSA-qjcv-rx3v-7mvj"},{"ecosystem":"Go","fixed":["7.0.1"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/ibc-go/v7","purl":"pkg:golang/github.com/cosmos/ibc-go/v7","source":"GO-2024-2874"}],"products":null,"published":"2024-05-20","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":"Attackers can steal funds by sending arbitrary transactions to target chains via IBC relaying flaws in specific fee-grant configurations.","url":"https://insights.sbomify.com/GHSA-qjcv-rx3v-7mvj/"}