Because of bug in the _rebalanceLiquidity LendingPool may experience DOS in withdraw fn, because LendingPool always check RToken contract balance, instead of its own and deplete its curve vault.
Each time someone deposits or withdraws from the _rebalanceLiquidity is called to ensure that there are enough funds.
If currentBuffer < desiredBuffer, then it will try to withdraw some from the vault.
In _withdrawFromVault. The withdraw function passes address(this) to the receiver. This will mean that the LendingContract will receive the funds and wont do anything to fix the difference in the buffer amounts.
Users may get blocked from withdrawing
More funds will be withdrawn from the curve vault than expected
Manual review
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.