Skip to content

In-depth lesson · DoS

Root causes

Every point the DoS reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 351 to 400 of 2,053
  1. An unbounded linked list is traversed in a single transaction, so its length can exceed the gas limit.

    Seen in 1 report
  2. An unbounded loop over a user-growable array can exceed the block gas limit and make the function always revert.

    Seen in 1 report
  3. An unbounded loop over extra rewards combined with anyone being able to add dust forced costly transfers.

    Seen in 1 report
  4. An unbounded loop over unclaimed rounds with a nested loop over winners.

    Seen in 1 report
  5. An uncaught exception in the device info handler when the registered client name is long.

    Seen in 1 report
  6. An unchecked stack allocation used a size derived from untrusted values in the Vorbis setup header without a bounds check.

    Seen in 1 report
  7. An unconditional claim rewards call iterates over an unbounded extra rewards list.

    Seen in 1 report
  8. An unconstrained string copy of a log file path into a fixed-size stack buffer without length validation.

    Seen in 1 report
  9. An uninitialised memory chunk in the http.sys driver that is not zeroed, leading to a crash when a malformed request is processed.

    Seen in 1 report
  10. An unlimited number of collateral assets is accepted and later processed in a single loop.

    Seen in 1 report
  11. An unsigned size is narrowed to a signed 32-bit integer without a bounds check before calling the media API.

    Seen in 1 report
  12. Any caller can add lock entries to another user's array, and two functions iterate over the whole array.

    Seen in 1 report
  13. Anyone can notify rewards with any amount and each call recalculates the rate by dividing remaining rewards by a fixed duration.

    Seen in 1 report
  14. API paths were not covered by the access policy and the backend had no effective rate limiting.

    Seen in 1 report
  15. Apostrophes in the search input are not handled, causing a hang.

    Seen in 1 report
  16. Applying the transfer restriction to mint and burn, whose zero address can never be whitelisted.

    Seen in 1 report
  17. Approving an aggregator for the full amount without resetting the allowance, so any residual blocks later approvals.

    Seen in 1 report
  18. Arrays are indexed directly with signer-supplied values whose integrity is not checked.

    Seen in 1 report
  19. Assuming the asset is always an ERC20 and calling balanceOf on a native token address.

    Seen in 1 report
  20. Attachment processing read each decompressed archive entry fully into memory without any size limit.

    Seen in 1 report
  21. Attacker-controlled JavaScript tracing exposed on a public endpoint with no timeout, memory cap or process isolation.

    Seen in 1 report
  22. Audio parsing code did not validate sizes or offsets before accessing memory.

    Seen in 1 report
  23. Batch construction did not allow splitting a batch across blobs, so one large transaction could fill a blob and seal a block.

    Seen in 1 report
  24. Batch validation does not decode ordinary envelopes, and an invalid-payload build error is classified as temporary so the task is retried in place.

    Seen in 1 report
  25. Batch-cutting copies a full batch and keeps appending without re-checking the maximum size.

    Seen in 1 report
  26. Batching enabled with no query cost analysis before execution.

    Seen in 1 report
  27. Bid quantity must be less than or equal to available quantity, so any prior purchase makes a full-balance bid revert.

    Seen in 1 report
  28. Blob data was decompressed with no limit on the decompressed size.

    Seen in 1 report
  29. Blocking connect loop for the data connection calls the time-left helper without the connect-timeout flag.

    Seen in 1 report
  30. Borrowed amount subtracted from the cap without checking it exceeds the cap, causing underflow.

    Seen in 1 report
  31. Brotli responses were decoded unconditionally with no cap on decompressed size.

    Seen in 1 report
  32. Brute-force protection delays each reset request, tying up PHP workers.

    Seen in 1 report
  33. Buffer append expands without a maximum size.

    Seen in 1 report
  34. Buffer-doubling logic multiplied a size past the allocator's 32-bit limit, so the allocation failed and the process aborted.

    Seen in 1 report
  35. Buffer-room check placed only in the flush routine while the receive path appends a pending pong unconditionally.

    Seen in 1 report
  36. Burned reserve tokens not tracked, so the mintable count can underflow.

    Seen in 1 report
  37. Cache coverage check compared stored feed times against the newest component timestamp instead of the oldest.

    Seen in 1 report
  38. Cache stores a single basket publish time rather than per-feed tick times, so reuse demands every feed be at the newest time.

    Seen in 1 report
  39. Callbacks are invoked outside a try/catch, so a synchronous throw skips the TLS error handlers.

    Seen in 1 report
  40. Calling a string duplication routine on optional protocol buffer fields without a null check when the sender omits them.

    Seen in 1 report
  41. Calling print() from within the beforeprint handler triggered a second print operation while the first was still in progress, causing an unexpected new window.

    Seen in 1 report
  42. Cancel function does not verify that old and new proposal IDs differ.

    Seen in 1 report
  43. Cancellation iterates an unbounded pending order array.

    Seen in 1 report
  44. Cancellation loops over an unbounded owner-supplied list without capping its length.

    Seen in 1 report
  45. Cancelled requests under IIS in-process hosting caused threads to accumulate without being released.

    Seen in 1 report
  46. Canonicalization routine does not limit memory used on crafted input.

    Seen in 1 report
  47. Certificate unpacking returns nil for an empty byte slice and the caller does not check for nil.

    Seen in 1 report
  48. Chain verification has no loop detection.

    Seen in 1 report
  49. Challenge entries are only removed when a matching pong arrives and are never purged otherwise.

    Seen in 1 report
  50. Characters outside the Unicode domain are not validated or sanitised before rendering.

    Seen in 1 report