Missing low-level call success check #132
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
cmichel
Vulnerability details
The
MochiVaultProxy.updateTemplate
performs a low-level call tobeacon
and does not check thesuccess
return value.Impact
If the
beacon
is set to the wrong address and the call fails, it will not be noticeable.Recommended Mitigation Steps
Check for
success
for theaddress(beacon).call(abi.encode(_newTemplate))
call.The text was updated successfully, but these errors were encountered: