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 151 to 200 of 2,053
  1. The reward integral was stored as a 128-bit integer while dividing incoming rewards by a tiny supply could exceed that range.

    Seen in 2 reports
  2. The SamplesPerPixel metadata value was multiplied into the decoded buffer size without a sanity check on the resulting allocation.

    Seen in 2 reports
  3. The script loader enforced no limit on the number or total size of files returned in one request.

    Seen in 2 reports
  4. The service follows symbolic links without validating or resolving the target path before creating a folder.

    Seen in 2 reports
  5. The setter allows a divisor to be zero and the settlement calculation divides by it without a guard.

    Seen in 2 reports
  6. The swarm is built without connection limits or a connection gater, so every incoming connection is accepted before any peer authorisation.

    Seen in 2 reports
  7. The txpool affordability check omitted the operator fee that execution later charges, so admission and execution disagreed.

    Seen in 2 reports
  8. The value-numbering pass discards a definition that is still tracked in its set, tripping an invariant during dead-definition cleanup.

    Seen in 2 reports
  9. The virtual machine used an unchecked expectation when a contract was absent, causing an unhandled exception.

    Seen in 2 reports
  10. The wrap step is conditional on redeemed plus pre-existing ETH covering the full amount, so any shortfall skips wrapping and the later check reverts.

    Seen in 2 reports
  11. The XML parser was configured to allow DTDs, so entity definitions were expanded recursively without limits.

    Seen in 2 reports
  12. transfer() hard-codes a small gas stipend instead of call() with explicit gas.

    Seen in 2 reports
  13. User input is concatenated directly into an LDAP search filter without escaping special characters.

    Seen in 2 reports
  14. User-supplied data is used as an array index or dereferenced without validation.

    Seen in 2 reports
  15. User-supplied gas parameters are not validated and the non-blocking pattern or force resume function is missing.

    Seen in 2 reports
  16. User-supplied offset used to compute a memory address without bounds validation.

    Seen in 2 reports
  17. A counter or nonce declared as a 16-bit integer overflows after enough increments.

    Seen in 1 report
  18. A block-lock check runs before the conditional that decides whether the vault is actually involved.

    Seen in 1 report
  19. A blocking thread sleep is used inside an async retry loop instead of the runtime's non-blocking sleep.

    Seen in 1 report
  20. A borrow implementation slices the backing buffer with an unchecked range before the length check runs.

    Seen in 1 report
  21. A bounded guardian index can be consumed by any signed account on behalf of another without consent, and slots are never released.

    Seen in 1 report
  22. A buffer caps the number of distinct block heights but not the number of votes per height, and messages are buffered before signatures are verified.

    Seen in 1 report
  23. A buffer function restricted to one contract was called from a different contract, so the call always reverted.

    Seen in 1 report
  24. A catch-all status arm maps every unrecognised status to a non-terminal pending state, and there is no wall-clock timeout on the awaiting-proof phase.

    Seen in 1 report
  25. A change storing unique IDs in dynamic slots left the JIT seeing a template object with dynamic slots where it assumed none.

    Seen in 1 report
  26. A cleanup engine followed junctions without validating the target path, letting a low-privileged user redirect a deletion.

    Seen in 1 report
  27. A client-side loop fired repeated automatic requests on the reset page without user action.

    Seen in 1 report
  28. A comparison error in the C code applied the iteration limit as a minimum instead of a maximum, so a large precision argument increased the loop count beyond the intended cap.

    Seen in 1 report
  29. A config value was duplicated but no cleanup routine freed the stored pointer before exit.

    Seen in 1 report
  30. A containment check skipped dirty handles not in the process set, discarding a pending transfer whose timer had already been removed.

    Seen in 1 report
  31. A continue statement skips the index increment on a zero-amount entry, so the same entry is read forever.

    Seen in 1 report
  32. A contract that is expected to receive ETH lacks a receive or fallback function, so transfers to it revert.

    Seen in 1 report
  33. A copy-paste typo stores the right-branch X remainder in the Y field.

    Seen in 1 report
  34. A crafted WebAssembly module triggers an assertion failure in the baseline compiler when compiling a br_on_cast instruction.

    Seen in 1 report
  35. A cursor is assigned the relative slice index instead of being advanced by it, breaking monotonic advance and turning a linear search into a quadratic one.

    Seen in 1 report
  36. A custom quicksort has no recursion depth limit and sends all entries equal to the pivot to one side.

    Seen in 1 report
  37. A data pointer was left uninitialised when the request had no body and was then used in a string search.

    Seen in 1 report
  38. A debug navigation deep link was exported in production without a guard.

    Seen in 1 report
  39. A decimal-scale mismatch multiplies a 6-decimal value by 1e12 and adds it to an 18-decimal value, overflowing the 128-bit type.

    Seen in 1 report
  40. A default RPC request size limit caused skipped votes, and there was no minimum quorum before penalising validators.

    Seen in 1 report
  41. A default URL string carried a scheme that the socket bind call could not parse.

    Seen in 1 report
  42. A dictionary is finalised with a stale start pointer after the variable is reassigned to a new dictionary.

    Seen in 1 report
  43. A driver failed to validate that a size taken from a file's resource section stayed within the actual data bounds.

    Seen in 1 report
  44. A failed allocation return is not handled before a lookup on the resulting pointer.

    Seen in 1 report
  45. A fee transfer is made without checking whether the amount is zero.

    Seen in 1 report
  46. A fixed copy length is used instead of the actual received length, causing a buffer over-read.

    Seen in 1 report
  47. A fixed fifty-iteration loop is used instead of a binary search over history.

    Seen in 1 report
  48. A fixed total distribution amount is divided by an eligible supply recalculated per batch, so mid-run eligibility changes inflate later shares.

    Seen in 1 report
  49. A flaw in how the email server processes specially crafted email content causes it to fail before the message is displayed.

    Seen in 1 report