The AaveDIVAWrapperCore
contract does not account for the possibility of Aave reserves being frozen by Aave governance. If a collateral token (e.g., USDC) is frozen, users will be unable to withdraw their funds from Aave, leading to indefinite lockup of user funds.
Funds Locked Indefinitely: Users cannot access their collateral until the reserve is unfrozen, which could take an indefinite amount of time.
Let's consider the following scenario :
A user deposits 100 USDC into the contract, which supplies it to Aave and mints 100 wUSDC.
Aave governance freezes the USDC reserve due to a security vulnerability.
The user attempts to redeem their 100 wUSDC for USDC.
The contract calls Aave's withdraw
function, which reverts because the USDC reserve is frozen.
The user’s funds are locked indefinitely.
Check Reserve Status Before Withdrawals: Before attempting to withdraw collateral from Aave, check if the reserve is frozen using Aave's getReserveData
function.
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.