{"answers":{"affected":"5 open source packages ship an affected version, including github.com/cosmos/cosmos-sdk.","exploited":"There is no known exploitation of GHSA-x5vx-95h7-rv4p in the wild and no public exploit code.","fix":"Upgrade github.com/cosmos/cosmos-sdk to a fixed version for your release line: 0.47.16-ics-lsm or 0.50.12.","what":"GHSA-x5vx-95h7-rv4p is a denial of service vulnerability in github.com/cosmos/cosmos-sdk, published on 20 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-x5vx-95h7-rv4p and fix it if it is affected.\n\nWhat it is: GHSA-x5vx-95h7-rv4p is a denial of service vulnerability in github.com/cosmos/cosmos-sdk, published on 20 Feb 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-x5vx-95h7-rv4p in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/cosmos/cosmos-sdk (Go): affected all versions; fixed in 0.47.16-ics-lsm, 0.50.12\n- github.com/cosmos/cosmos-sdk (Go): affected all versions; fixed in 0.47.16-ics-lsm\n- github.com/cosmos/cosmos-sdk (Go): affected all versions; fixed in 0.47.16-ics-lsm\n- github.com/cosmos/cosmos-sdk (Go): affected from 0.50.0-alpha.0; fixed in 0.50.12\n- github.com/cosmos/cosmos-sdk (Go): affected from 0.50.0-alpha.0; fixed in 0.50.12\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-x5vx-95h7-rv4p/ (Markdown: https://insights.sbomify.com/GHSA-x5vx-95h7-rv4p/index.md)","id":"GHSA-x5vx-95h7-rv4p","markdown":"https://insights.sbomify.com/GHSA-x5vx-95h7-rv4p/index.md","name":"GHSA-x5vx-95h7-rv4p","record":{"aliases":["GO-2025-3476"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Cosmos SDK library","requires_auth":"low_privilege","summary":"A malicious proposal in the Cosmos SDK groups module causes a division by zero, halting the blockchain for all validators and nodes.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Name: ASA-2025-003: Groups module can halt chain when handling a malicious proposal\nComponent: CosmosSDK\nCriticality: High (Considerable Impact; Likely Likelihood per [ACMv1.2](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX.md))\nAffected versions: \u003c= v0.47.15, \u003c= 0.50.11\nAffected users: Validators, Full nodes, Users on chains that utilize the groups module\n\n### Description\n\nAn issue was discovered in the groups module where a malicious proposal would result in a division by zero, and subsequently halt a chain due to the resulting error. Any user that can interact with the groups module can introduce this state.\n\n### Patches\n\nThe new Cosmos SDK release [v0.50.12](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.12) and [v0.47.16](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.16) fix this issue.\n\n### Workarounds\n\nThere are no known workarounds for this issue.  It is advised that chains apply the update.\n\n### Timeline\n\n* February 9, 2025, 5:18pm PST: Issue reported to the Cosmos Bug Bounty program\n* February 9, 2025, 8:12am PST: Issue triaged by Amulet on-call, and distributed to Core team\n* February 9, 2025, 12:25pm PST: Core team completes validation of issue\n* February 18, 2025, 8:00am PST / 17:00 CET: Pre-notification delivered\n* February 20, 2025, 8:00am PST / 17:00 CET: Patch made available\n\nThis issue was reported to the Cosmos Bug Bounty Program by [dongsam](https://github.com/dongsam) on HackerOne on February 9, 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 Cosmos SDK [repository](https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-x5vx-95h7-rv4p).","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":"Cosmos SDK: Groups module can halt chain when handling a malicious proposal","id":"GHSA-x5vx-95h7-rv4p","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":5,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.47.16-ics-lsm","0.50.12"],"introduced":["0","0.50.0-alpha.0"],"last_affected":[],"package":"github.com/cosmos/cosmos-sdk","purl":"pkg:golang/github.com/cosmos/cosmos-sdk","source":"GO-2025-3476"},{"ecosystem":"Go","fixed":["0.47.16-ics-lsm"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/cosmos-sdk","purl":null,"source":"GHSA-x5vx-95h7-rv4p"},{"ecosystem":"Go","fixed":["0.47.16-ics-lsm"],"introduced":["0"],"last_affected":[],"package":"github.com/cosmos/cosmos-sdk","purl":"pkg:golang/github.com/cosmos/cosmos-sdk","source":"GHSA-x5vx-95h7-rv4p"},{"ecosystem":"Go","fixed":["0.50.12"],"introduced":["0.50.0-alpha.0"],"last_affected":[],"package":"github.com/cosmos/cosmos-sdk","purl":null,"source":"GHSA-x5vx-95h7-rv4p"},{"ecosystem":"Go","fixed":["0.50.12"],"introduced":["0.50.0-alpha.0"],"last_affected":[],"package":"github.com/cosmos/cosmos-sdk","purl":"pkg:golang/github.com/cosmos/cosmos-sdk","source":"GHSA-x5vx-95h7-rv4p"}],"products":null,"published":"2025-02-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":"A malicious proposal in the Cosmos SDK groups module causes a division by zero, halting the blockchain for all validators and nodes.","url":"https://insights.sbomify.com/GHSA-x5vx-95h7-rv4p/"}