The _withdrawFromVault
function withdraws funds to LendingPool
instead of rToken
leading to DoS for withdraw
and borrow
functions.
By taking a look into the _withdrawFromVault
function we realise that it withdraws funds to the LendingPool
instead of withdrawing them to the rToken
:
This can be seen in the VaultV3
implementation provide by the protocol team (The link can be found in the chat. For some odd reason I can't post it here).
This will eventually lead to DoS for the LendingPool::withdraw
and LendingPool::borrow
functions, since this will leave the rToken
contract with no funds to send to the users.
DoS of key protocol functionality
Manual Review
Withdraw the funds from the vault to the rToken
address by following the vault implementation or when they are withdrawn to the lending pool, transfer them to the rToken address
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.