babylonlabs-io/babylon · Security
Babylon vulnerable to chain halt when a message modifies the validator set at the epoch boundary
- GHSA ID
- GHSA-rj53-j6jw-7f7g
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.9 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Description
Summary
Sending a message that modifies the validator set at the epoch boundary halts the chain.
Impact
Denial of Service - Comos-sdk prevents modifying the validator set from two different modules - https://github.com/cosmos/cosmos-sdk/blob/release/v0.50.x/types/module/module.go#L811. Such an operation leads to panic and chain halt.
Detailed Post mortem
CWEs
- CWE-754 · Improper Check for Unusual or Exceptional Conditions
References
- https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-rj53-j6jw-7f7g ↗
- https://github.com/babylonlabs-io/babylon/pull/1244/files ↗
- https://boiling-lake-106.notion.site/2025-06-18-Babylon-Genesis-Chain-Halt-Post-Mortem-229f60cc1b5f80b7adf5e3ea0541ea87 ↗
- https://github.com/babylonlabs-io/babylon/releases/tag/v2.1.0 ↗
- https://github.com/advisories/GHSA-rj53-j6jw-7f7g ↗