GHSA-x5vx-95h7-rv4p: Cosmos SDK: Groups module can halt chain when handling a malicious proposal
Name: ASA-2025-003: Groups module can halt chain when handling a malicious proposal Component: CosmosSDK Criticality: High (Considerable Impact; Likely Likelihood per ACMv1.2) Affected versions: <= v0.47.15, <= 0.50.11 Affected users: Validators, Full nodes, Users on chains that utilize the groups module Description An issue was discovered in the groups module where a malicious proposal would result in a division by…
Published Feb 20, 2025
Affected packages
github.com/cosmos/cosmos-sdk
- Ecosystem
- Go
- Affected
- <= 0.47.15
- Fixed in
- 0.47.16-ics-lsm
- Check
go list -m github.com/cosmos/cosmos-sdk
github.com/cosmos/cosmos-sdk
- Ecosystem
- Go
- Affected
- >= 0.50.0-alpha.0, <= 0.50.11
- Fixed in
- 0.50.12
- Check
go list -m github.com/cosmos/cosmos-sdk
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Name: ASA-2025-003: Groups module can halt chain when handling a malicious proposal Component: CosmosSDK Criticality: High (Considerable Impact; Likely Likelihood per ACMv1.2) Affected versions: <= v0.47.15, <= 0.50.11 Affected users: Validators, Full nodes, Users on chains that utilize the groups module
Description
An 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.
Patches
The new Cosmos SDK release v0.50.12 and v0.47.16 fix this issue.
Workarounds
There are no known workarounds for this issue. It is advised that chains apply the update.
Timeline
- February 9, 2025, 5:18pm PST: Issue reported to the Cosmos Bug Bounty program
- February 9, 2025, 8:12am PST: Issue triaged by Amulet on-call, and distributed to Core team
- February 9, 2025, 12:25pm PST: Core team completes validation of issue
- February 18, 2025, 8:00am PST / 17:00 CET: Pre-notification delivered
- February 20, 2025, 8:00am PST / 17:00 CET: Patch made available
This issue was reported to the Cosmos Bug Bounty Program by 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.
If you have questions about Interchain security efforts, please reach out to our official communication channel at [[email protected]](mailto:[email protected]). 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.
A Github Security Advisory for this issue is available in the Cosmos SDK repository.
Credited to dongsam.
References
- https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-x5vx-95h7-rv4p
- https://github.com/cosmos/cosmos-sdk/commit/0a98b65b24900a0e608866c78f172cf8e4140aea
- https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.16
- https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.12
- https://github.com/advisories/GHSA-x5vx-95h7-rv4p
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-p22h-3m2v-cmgh
Cosmos SDK's Integer Overflow vulnerability in its Validator Rewards pool can cause a chain halt
high7.7Jul 8, 2025GHSA-47ww-ff84-4jrg
Cosmos SDK: x/group can halt when erroring in EndBlocker
high8.7Mar 12, 2025GHSA-8wcc-m6j2-qxvm
ASA-2024-0012, ASA-2024-0013: CosmosSDK: Transaction decoding may result in a stack overflow or resource exhaustion
high8.7Dec 16, 2024GHSA-95rx-m9m5-m94v
ASA-2024-006: ValidateVoteExtensions helper function in Cosmos SDK may allow incorrect voting power assumptions
high7.1Mar 12, 2024GHSA-86h5-xcpx-cfqc
ASA-2024-005: Potential slashing evasion during re-delegation
lowFeb 27, 2024GHSA-2557-x9mg-76w8
ASA-2024-002: Default `PrepareProposalHandler` may produce invalid proposals when used with default `SenderNonceMempool`
medium5.3Feb 21, 2024
