25921 - [SC - Insight] Flaw in upgradeToAndCall leads to the proxy cal...
Description
Bug Description
function upgradeToAndCall(address implementation, bytes memory data) payable public onlyProxyOwner {
upgradeTo(implementation);
(bool success, ) = address(this).call{value: msg.value}(data);
require(success);
}Impact
Recommendation
Proof of concept
Previous25917 - [SC - Insight] Timelock can call transferProxyOwnership of Dep...Next25927 - [SC - Insight] MultiSig Owners can set malicious implementatio...
Last updated
Was this helpful?