All reports
High

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

Affected versions

Version ranges need review.

Affected versions
< 2.2.0
Fixed version
2.2.0
Affected versions
<2.2.0
Fixed version
2.2.0
Affected versions
*
Fixed version
Not reported
Affected versions
<= 1.1.0
Fixed version
Not reported

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

Links