57519 sc medium unbounded stake array allows permanent withdraw lock via dust deposits on behalf of victims
Description
function deposit(uint256 assets, address receiver) public virtual returns (uint256) {
uint256 maxAssets = maxDeposit(receiver);
if (assets > maxAssets) {
revert ERC4626ExceededMaxDeposit(receiver, assets, maxAssets);
}
uint256 shares = previewDeposit(assets);
_deposit(_msgSender(), receiver, assets, shares);
return shares;
}Proof of Concept
Impact
Previous57221 sc high incorrect processing fee calculation causes venue payouts to be misallocatedNext56860 sc medium hash collision in signature verification
Was this helpful?