Solidity

Solidity : DoS with unexpected revert or failed call

Classification

Overview

External calls may fail to work accidentally or deliberately, which can cause a DoS state in the contract and enable an attacker to disrupt the logic of the contract, for example to unfairly win the auction.

To minimize the damage caused by such failures, it is better to isolate each external call into its own transaction that can be initiated by the recipient of the call. This is especially relevant for payments, where it is better to let users withdraw funds rather than push funds to them automatically.

MEDIUM

DerScanner Severity Score

Check your Solidity code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.

How DerScanner analyses Solidity code