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 451 to 500 of 2,053
  1. Duplicate header values are merged with string concatenation in a loop, giving quadratic work for linear input.

    Seen in 1 report
  2. Each aliased GraphQL mutation ran as an independent operation with no alias cap, query cost analysis or operation-level rate limiting.

    Seen in 1 report
  3. Each inbound substream is handled fire-and-forget with a task spawn and info-level log, with no per-peer concurrency cap, rate limit or stream limit.

    Seen in 1 report
  4. Each parent-directory prefix is removed by shifting the whole string, a CPU-heavy operation.

    Seen in 1 report
  5. Each transaction in a batch is validated individually before any batch-level size or rate check.

    Seen in 1 report
  6. Each vault stored its own slash store at deployment while the core allowlist could be changed independently, and the slash call required the two to match.

    Seen in 1 report
  7. Email ownership was not verified before enabling test sends, and the feature had no rate limit.

    Seen in 1 report
  8. Emoji formatting in comments is not bounded.

    Seen in 1 report
  9. Entries are never removed from the owned-token array when a user no longer holds the token, and anyone can add entries by transferring, so iteration cost grows without bound.

    Seen in 1 report
  10. Epoch ending unnecessarily calls a price function that can revert.

    Seen in 1 report
  11. Erase handlers dereference a terminal special-character table entry that is never initialised.

    Seen in 1 report
  12. Error and reallocation paths freed the pointer array but not the individual header strings.

    Seen in 1 report
  13. Error handling for truncated control messages did not close file descriptors already received before the truncation.

    Seen in 1 report
  14. Error handling only catches errors with non-empty data, but a deprecated oracle reverts with empty data.

    Seen in 1 report
  15. Error handling returns a success-like tuple containing an error result, which the coordinator treats as final.

    Seen in 1 report
  16. Error handling uses continue instead of break, so a persistent error causes an infinite retry loop on the same page.

    Seen in 1 report
  17. The error path after a failed lock call enters an infinite loop instead of returning an error.

    Seen in 1 report
  18. Error paths in message parsing returned without freeing previously allocated buffers.

    Seen in 1 report
  19. Ether is pushed to the royalty recipient without checking that it can accept ether.

    Seen in 1 report
  20. The event name is passed unsanitised to the event emitter, which calls string conversion on it.

    Seen in 1 report
  21. Event Tracing for Windows followed a directory junction when writing its output file.

    Seen in 1 report
  22. Every buy order's notional is added to the open interest counter without excluding reduce-only orders or capping price.

    Seen in 1 report
  23. Every input string, including failed parses, was cached in a static dictionary with no size limit or eviction.

    Seen in 1 report
  24. Every path challenge must be answered with no limit on queued responses.

    Seen in 1 report
  25. Expiry is only validated at the RPC entry point and not re-checked in the sequencer or ingress stages.

    Seen in 1 report
  26. External call failures are not handled gracefully, so one failure reverts the entire transaction.

    Seen in 1 report
  27. An external token transfer is performed before cancellation completes, so a blacklist reverts the whole call.

    Seen in 1 report
  28. Extremely large width and height parameters are accepted without bounds.

    Seen in 1 report
  29. A failed socket write returning would-block is treated as success, so the packet is retained.

    Seen in 1 report
  30. Failed token transfers to blacklisted addresses are not handled, so a revert blocks the whole auction or liquidation.

    Seen in 1 report
  31. Fallible decoding results are unwrapped, turning a parse error into a process panic.

    Seen in 1 report
  32. Fee growth and seconds-per-liquidity subtractions use checked arithmetic even though a negative intermediate value is legitimate.

    Seen in 1 report
  33. Fees are pushed directly to all recipients so one revert blocks the transaction.

    Seen in 1 report
  34. Fees are transferred directly to the creditor without handling a failed transfer due to a blacklist.

    Seen in 1 report
  35. The file segment structure is not freed when an empty file is processed.

    Seen in 1 report
  36. A filename-derived wildcard is interpolated into a regex replacement string so backslashes are parsed as escape syntax.

    Seen in 1 report
  37. Firmware validation checks only the header and filename, so an empty image passes.

    Seen in 1 report
  38. The first deposit is small enough that the share preview rounds to zero and the deposit rejects.

    Seen in 1 report
  39. FORCERENEW packets are not authenticated and the transaction ID is fixed.

    Seen in 1 report
  40. Frozen regime length is not coupled to the staleness bound, and mark refresh resolves through the same gate.

    Seen in 1 report
  41. Full proof verification runs per candidate at block production with no bound on failed verifications and no weight charged.

    Seen in 1 report
  42. Fullscreen state is not reset when a page is restored from the back/forward cache while a cross-origin iframe holds the fullscreen request.

    Seen in 1 report
  43. Function selectors were hardcoded from an outdated signature that lacks an extra parameter and uses a different struct.

    Seen in 1 report
  44. Garbage collection and block execution both decrement the same counter and are not mutually exclusive.

    Seen in 1 report
  45. Garbage collection runs after the submission check, so expired entries are not cleared before deciding the mempool is full.

    Seen in 1 report
  46. Gas estimation for keepers did not account for the triple cost of a callback revert message: the callback, fetching the reason and emitting it.

    Seen in 1 report
  47. The group creation function lacks access control and a liquidity deposit requirement.

    Seen in 1 report
  48. Hang-up is handled through the same queue a peer can saturate, with no priority path or bounded queue.

    Seen in 1 report
  49. Header range requests are not rate-limited or bounded, so one peer can exhaust CPU.

    Seen in 1 report
  50. Header size limits and timeouts are not enforced for continuation frames.

    Seen in 1 report