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 551 to 600 of 2,053
  1. Message size is not re-checked against the maximum after being received across packets.

    Seen in 1 report
  2. Message validation did not check hash length and the processing task did not recover from panics.

    Seen in 1 report
  3. Migration trusted the contract's raw token balance instead of tracking only tokens received from the bootstrap pool.

    Seen in 1 report
  4. Minting shares to the proxy sets a lock on the proxy, which then cannot transfer them.

    Seen in 1 report
  5. Missing input length validation on a text field.

    Seen in 1 report
  6. Missing loop termination condition when parsing Spotlight RPC arguments.

    Seen in 1 report
  7. Missing null check during certificate conversion.

    Seen in 1 report
  8. Missing validation of crafted neighbour discovery packets combined with a low rate limit let junk packets crowd out legitimate ones.

    Seen in 1 report
  9. Missing validation of input values in RFC processing allows a divide-by-zero in the kernel.

    Seen in 1 report
  10. Missing validation of zero-length ASN.1 objects and failure to account for tag bytes when calculating remaining buffer size.

    Seen in 1 report
  11. Missing validation that the fee value is at most the maximum basis points.

    Seen in 1 report
  12. Missing zero-channel check before division, with a failed codec open overwriting the channel layout.

    Seen in 1 report
  13. Module evaluation did not check that the module and the promise resolution value were in the same compartment.

    Seen in 1 report
  14. Most gossip topics were initialised with a zero topic weight, so invalid-message penalties were always zero.

    Seen in 1 report
  15. Multiple greedy whitespace quantifiers around a non-greedy capture cause cubic backtracking.

    Seen in 1 report
  16. Multiplication before division without a safe mulDiv helper.

    Seen in 1 report
  17. Name-building routines do not null-terminate the string, so a later length call reads past the heap buffer.

    Seen in 1 report
  18. Native currency is pushed to the referrer with a call that reverts on failure, and the referral code is fixed at deployment.

    Seen in 1 report
  19. A negative error code assigned to an unsigned size variable causes an infinite loop.

    Seen in 1 report
  20. Nested loops over operators and tokens made gas grow quadratically.

    Seen in 1 report
  21. Nested repetition in the grammar rule for directives causes excessive lookahead.

    Seen in 1 report
  22. NFTs are pushed to user-controlled addresses inside the bot flow before state cleanup.

    Seen in 1 report
  23. Nil pointer dereference in the assertion consumer when building the session cookie from unexpected SAML input.

    Seen in 1 report
  24. No alias limit or per-operation cost calculation, with rate limiting applied only per HTTP request.

    Seen in 1 report
  25. No byte, item-count or rendering-work bound was applied to the links record before parsing and eagerly rendering one card per item.

    Seen in 1 report
  26. No cap on checkpoint growth combined with repeated binary searches inside nested loops.

    Seen in 1 report
  27. No cap on gauge creation and a loop over the whole gauge array.

    Seen in 1 report
  28. No check for the edge case where the numerator is minus one and the denominator is the minimum integer value.

    Seen in 1 report
  29. No check that a token balance is greater than zero before transferring, so a zero-transfer revert blocks the loop.

    Seen in 1 report
  30. No check that initial liquidity amounts or minted LP tokens are greater than zero.

    Seen in 1 report
  31. No check that removed amounts are non-zero before calling collect, which reverts when both are zero.

    Seen in 1 report
  32. No effective server-side rate limit or usage quota was enforced on the chat endpoint.

    Seen in 1 report
  33. No enforced rate limits or recursion detection on automation scripts calling the public API.

    Seen in 1 report
  34. No fee is charged for creating or cancelling orders, so slots can be filled cheaply.

    Seen in 1 report
  35. No function to remove a derivative, so a failing derivative stays in the unstake loop and reverts the whole call.

    Seen in 1 report
  36. No guard against an exponential helper returning zero before dividing, and a catch block that leaves the accrual timestamp stale.

    Seen in 1 report
  37. No hard upper limit on the worker count parameter and no account-level spending caps.

    Seen in 1 report
  38. No length check on the nonce response vector before it is passed to a compute-heavy signing routine.

    Seen in 1 report
  39. No limit is placed on the number of open-secure-channel requests processed.

    Seen in 1 report
  40. No limit on concurrent calls and database sessions not released properly, exhausting the pool.

    Seen in 1 report
  41. No limit on issue comment length, so very large inputs are accepted and processed inefficiently.

    Seen in 1 report
  42. No limit on the number of continuation frames for an unfinished message, so the client buffers without bound.

    Seen in 1 report
  43. No limit on the number or size of HTTP headers curl will accept.

    Seen in 1 report
  44. No limit was placed on the number or total size of response headers stored in memory.

    Seen in 1 report
  45. No limits on query depth or complexity, so circular schema relationships can be exploited.

    Seen in 1 report
  46. No maximum is enforced on the limit parameter, allowing unbounded resource consumption.

    Seen in 1 report
  47. No maximum length check on the destination address parameter allows arbitrarily large payloads that exceed the destination chain's gas limit.

    Seen in 1 report
  48. No maximum length constraint on the release name field in the API and database.

    Seen in 1 report
  49. No maximum length is enforced on the display name, causing resource exhaustion on very long strings.

    Seen in 1 report
  50. No maximum length was enforced on the instruction field before the oversized input was processed and stored.

    Seen in 1 report