26423 - [SC - Insight] Timelock executeTransaction function will succe...
Description
Bug Description
Summary
bytes memory callData;
if (bytes(signature).length == 0) {
callData = data;
} else {
callData = abi.encodePacked(bytes4(keccak256(bytes(signature))), data);
}
// if target is a non-existent contract then also it will return true.
(bool success, bytes memory returnData) = target.call{value: value}(callData);
require(success, "Timelock::executeTransaction: Transaction execution reverted.");
emit ExecuteTransaction(txHash, target, value, signature, data, eta);
Impact
Risk Breakdown
Recommendation
References
Proof of concept
Previous26422 - [SC - Insight] there is no explicit gas limit in external call...Next26431 - [SC - Insight] High Risk in transfer of proxyOwnership
Last updated
Was this helpful?