GHSA-869w-47c6-fq8q Babylon Integer Overflow in Distribution Module CumulativeRewardRatio Calculation Leading to Chain Halt
HighCVSS 8.2
- Published
- Updated
- Exploit status
- No public exploit known
Description
Summary
Minting large amount of tokens through ibc transfer and then depositing them in validator rewards pool (via DepositValidatorRewardsPool message) can lead to integer overflow panic when calculating cumulative_reward_ratio for the validator.
This calculation happens in x/epoching module EndBlocker, thus the panic will halt the chain.
Impact
Denial of Service - Due to panic in the EndBlocker Babylon Genesis will halt
Upgrade path
1 package: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) | < 1.1.0; All versions | 1.1.0 | Partially fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) | < 1.1.0 | 1.1.0 |
| babylonlabs-io github.com/babylonlabs-io/babylon/v4(Go) | All versions | No fix listed |
References
- github.com vendor-advisory
- github.com patch
- github.com product
- pkg.go.dev
- github.com