DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: low
Invalid

External call recipient may consume all transaction gas

Summary

There is no limit specified on the amount of gas used, so the recipient can use up all of the transaction's gas, causing it to revert.

Vulnerability Details

There is 1 instance of this issue.

File: contracts/bridges/BridgeReth.sol
105: (bool sent,) = to.call{value: netBalance}("");
File Link Instance Count Instance Link
BridgeReth.sol 1 105

Impact

Transaction may revert due to gas consumption.

Tools Used

baudit: a custom static code analysis tool; manual review

Recommendations

Use addr.call{gas: <amount>}("") or the ExcessivelySafeCall library instead.

Updates

Lead Judging Commences

0xnevi Lead Judge
about 2 years ago
0xnevi Lead Judge about 2 years ago
Submission Judgement Published
Invalidated
Reason: Out of Gas

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.