Description
### Summary
Sending transactions with fees different than native Babylon genesis denom (`ubbn`) leads to chain halt.
### Impact
Denial of Service - Due to panic in the `x/distribution` module `BeginBlocker` triggered by a error when sending fees from `feeCollector` to `x/distribution` module - https://github.com/cosmos/cosmos-sdk/blob/main/x/distribution/keeper/allocation.go#L28 Babylon Genesis will halt
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/babylonlabs-io/babylon | <= 1.1.0 | — | GHSA-56j4-446m-qrf6 |
| Go | github.com/babylonlabs-io/babylon | all versions | — | GO-2025-3791 |
| Go | github.com/babylonlabs-io/babylon/v2 | < 2.2.0 | 2.2.0 | GHSA-56j4-446m-qrf6 |
References
- https://github.com/babylonlabs-io/babylon/security/advisories/GHSA-56j4-446m-qrf6 web
- https://github.com/babylonlabs-io/babylon/commit/fe67aebd5216e7d3afa1d7dee2a3f82e548556f3 web
- https://github.com/babylonlabs-io/babylon package
- https://github.com/cosmos/cosmos-sdk/blob/main/x/distribution/keeper/allocation.go#L28 web