Advisory

GHSA-47ww-ff84-4jrg

Also known as: GO-2025-3516

Summary

Cosmos SDK: x/group can halt when erroring in EndBlocker

Details

Name: ISA-2025-002: x/group can halt when erroring in EndBlocker
Component: CosmosSDK
Criticality: High (Considerable Impact; Likely Likelihood per ACMv1.2)
Affected versions: <= v0.47.16, <= 0.50.12
Affected users: Validators, Full nodes, Users on chains that utilize the groups module
Cosmos SDK chains in unpatched releases that use the x/group module are affected.

Description

An issue was discovered in the groups module where malicious proposals would result in an errors triggered in the module's end blocker that could result in a chain halt. Any set of users that can interact with the groups module could introduce this state.

Patches
_Has the problem been patched? What versions should users upgrade to?_

The new Cosmos SDK release v0.50.13 and v0.47.17 fix this issue.

Testing

Testing we have done to gain more confidence in this release:

In addition to testing Cosmos SDK we also did the following:

  • Ran a patched node in a local v0.50 testnet with the failing state and did not halt (an unpatched network confirmed to halt)
  • Ran a patched node on Xion Mainnet (uses x/group)
  • Ran a patched node on Zetachain Mainnet (uses x/xgroup)

Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_

There are no known workarounds for this issue. It is advised that chains apply the update.

This issue was reported to the Cosmos Bug Bounty Program by wbowling on HackerOne on February 28, 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-12 19:28 UTC
Modified
2025-08-20 17:39 UTC

Affected packages and fixes

github.com/cosmos/cosmos-sdk

Go · All systems

Affected

  • introduced 0.50.0-alpha.0, fixed 0.50.13 (semver)

Fixed versions

0.50.13

Fix

github.com/cosmos/cosmos-sdk

Go · All systems

Affected

  • introduced 0, fixed 0.47.17 (semver)

Fixed versions

0.47.17

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences