missing check on call return value #52
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
certora
Vulnerability details
https://github.com/code-423n4/2021-12-amun/blob/main/contracts/basket/contracts/singleJoinExit/EthSingleTokenJoin.sol#L26
there is no check on the return value of call.
Recommended Mitigation Steps
(bool success, ) = address(INTERMEDIATE_TOKEN).call{value: msg.value}("");
require(success);
The text was updated successfully, but these errors were encountered: