28796 - [SC - Low] The PufferVaultgetPendingLidoETHAmount will ret...
Description
Brief/Intro
Vulnerability Details
function initiateETHWithdrawalsFromLido(uint256[] calldata amounts)
[...]
{
VaultStorage storage $ = _getPufferVaultStorage();
uint256 lockedAmount;
for (uint256 i = 0; i < amounts.length; ++i) {
lockedAmount += amounts[i];
}
@:263 $.lidoLockedETH += lockedAmount;
SafeERC20.safeIncreaseAllowance(_ST_ETH, address(_LIDO_WITHDRAWAL_QUEUE), lockedAmount);
requestIds = _LIDO_WITHDRAWAL_QUEUE.requestWithdrawals(amounts, address(this));
[...]
}Impact Details
References
Proof of Concept
Previous28792 - [SC - Low] Return value of low level isnt checked executio...Next28813 - [SC - Insight] PufferVaultclaimWithdrawalFromLido according to...
Last updated
Was this helpful?