🚀 Join our AI Wargame at Black Hat Asia and our Workshop + Wargame at NDC Sydney .


DoS with Block Gas Limit

Each block has an upper bound on the amount of gas that can be spent, determining the extent of computational operations. If the gas spent exceeds this limit, the transaction will fail. This leads to Denial of Service.

SWC-128 - DoS With Block Gas Limit

Remediation

  • Let users withdraw funds rather than push funds to them automatically.

Learn more about this vulnerability on SecDim Learn: Stuck Ponzi

Metadata

  • Severity: medium
  • Slug: dos-with-block-gas-limit

CWEs

  • 400: Uncontrolled Resource Consumption

Available Labs

Select a language to explore available labs for this vulnerability.

No matching labs found

Try adjusting your language filter.

Deco line
Deco line

Play AppSec WarGames

Want to skill-up in secure coding and AppSec? Try SecDim Wargames to learn how to find, hack and fix security vulnerabilities inspired by real-world incidents.

Deco line
Deco line

Got a comment?

Join our secure coding and AppSec community. A discussion board to share and discuss all aspects of secure programming, AppSec, DevSecOps, fuzzing, cloudsec, AIsec code review, and more.

Read more