51519 sc low unstake does not validate users remaing stake
Description
Brief / Intro
Vulnerability Details
function unstake(uint16 validatorId, uint256 amount)Impact Details
uint256 grossRewardForSegment = (userStakedAmount * rewardPerTokenDeltaForUserInSegment) / PlumeStakingStorage.REWARD_PRECISION;
References
Proof of Concept
Previous52137 sc insight silent override of non global module implementation causes stored state and event log inconsistencyNext52464 sc high commission rounding mismatch under payment bug
Was this helpful?