Submitted by sorrynotsorry
https://github.com/code-423n4/2022-05-vetoken/blob/2d7cd1f6780a9bcc8387dea8fecfbd758462c152/contracts/BaseRewardPool.sol#L180
https://github.com/code-423n4/2022-05-vetoken/blob/2d7cd1f6780a9bcc8387dea8fecfbd758462c152/contracts/BaseRewardPool.sol#L137-L142
https://github.com/code-423n4/2022-05-vetoken/blob/2d7cd1f6780a9bcc8387dea8fecfbd758462c152/contracts/BaseRewardPool.sol#L157-L159
The first user who calls BaseRewardPools stake() function with 1 wei can inflate the rewardPerTokenStored. And the same user can call withdraw and drain the rewards.
When a user call stake() with 1 wei,  it updates the _totalSupply as 1 wei  and the rewards through updateReward modifier.
This modifier calls rewardPerToken() to assign the return to rewardPerTokenStored and assigns it to the account via userRewardPerTokenPaid[account] = rewardPerTokenStored;
rewardPerToken() formula is as below;
Since it depends on the denominator  as totalSupply(), the whole multiplying will be divided by 1 wei which will inflate the rewardPerTokenStored astronomically.
And there is no obstacle for the user to withdraw it in the withdraw function.
https://github.com/code-423n4/2022-05-vetoken/blob/2d7cd1f6780a9bcc8387dea8fecfbd758462c152/contracts/BaseRewardPool.sol#L180
https://github.com/code-423n4/2022-05-vetoken/blob/2d7cd1f6780a9bcc8387dea8fecfbd758462c152/contracts/BaseRewardPool.sol#L137-L142
https://github.com/code-423n4/2022-05-vetoken/blob/2d7cd1f6780a9bcc8387dea8fecfbd758462c152/contracts/BaseRewardPool.sol#L157-L159
The team might consider to add boundries to reward the stakers to be consistent inside the limits.
solvetony (veToken Finance) acknowledged, but disagreed with severity and commented:
Alex the Entreprenerd (judge) decreased severity to Medium and commented:
