Description:
Inside of the KittyVault::purrrCollateralFromAave
a i_aavePool.withdraw()
performs a call to the aave pool to send the user's collateral back to the Vault. But it does not check the return value if the call suceeded.
Impact:
If the call fails, the collateral didnt manage to get back to the specified vault, and users may end up losing their collateral.
Tools Used:
Manual Review.
Recommended Mitigation:
Revert the entire call if the withdraw
call fails by checking that the success
return value of the i_aavePool.withdraw()
returns true.
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.