Unsafe transfer in RocketJoeFactory
#30
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
0x1f8b
Vulnerability details
Impact
Unsafe transferFrom.
Proof of Concept
In the method
RocketJoeFactory.createRJLaunchEvent
it's made onetransferFrom
without checking the boolean result, ERC20 standard specify that the token can return false if the transfer was not made, so it's mandatory to check the result of transfer methods.Affected line: RocketJoeFactory:132
Tools Used
Manual review.
Recommended Mitigation Steps
Check the boolean result.
The text was updated successfully, but these errors were encountered: