DOS with Failed Call
Denial of Service (DOS) with Revert happens when external calls fail accidentally or deliberately. Revert can result the caller to stuck or unable to complete.
SWC-113 - DoS with Failed Call
Remediation
- Avoid combining multiple calls within a single transaction, particularly when calls are executed iteratively.
- Always operate under the assumption that external calls have the potential to fail.
Metadata
- Severity: high
- Slug: dos-with-failed-call
CWEs
- 703: Improper Check or Handling of Exceptional Conditions
OWASP
- A04:2021: Insecure Design