NetSight
high8.7No CVE yet

GHSA-56j4-446m-qrf6

Babylon vulnerable to chain half when transaction has fees different than `ubbn`

Impact

### 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

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/babylonlabs-io/babylon/v2< 2.2.02.2.0
gogithub.com/babylonlabs-io/babylon<= 1.1.0none recorded

Weakness classification

References