31497 - [SC - Low] executeBatch lacks payable so ethers can not be...
Description
Brief/Intro
Vulnerability Details
function executeBatch(
address[] calldata targets,
uint256[] calldata values, @audit // ether value sent along with call
bytes[] calldata payloads,
bytes32 predecessor,
bytes32 descriptionHash,
uint256 chainId
) public virtual onlyRole(EXECUTOR_ROLE) {
require(targets.length == values.length, "TimelockExecutor: length mismatch");
require(targets.length == payloads.length, "TimelockExecutor: length mismatch");
bytes32 id = hashOperationBatch(targets, values, payloads, predecessor, descriptionHash, chainId);
_beforeCall(id, predecessor);
for (uint256 i = 0; i < targets.length; ++i) {
_execute(id, i, targets[i], values[i], payloads[i]);
}
_afterCall(id);
}Impact Details
References
Recommendation to fix
Proof of Concept
Previous31495 - [SC - Critical] Users cannot claim rewards from RevenueHandler ...Next31498 - [SC - High] Alchemix ALCX rewards are currently subject to...
Last updated
Was this helpful?