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 701 to 750 of 2,053
  1. Removing an operator overwrote its slot with the last element but never cleared the old last slot, leaving a stale zero-cap entry.

    Seen in 1 report
  2. Repayment pushes tokens directly to the lender instead of using a pull pattern, so a blacklisted lender blocks it.

    Seen in 1 report
  3. Repayment reverts when the requested shares exceed current debt shares instead of ignoring the excess.

    Seen in 1 report
  4. The repeat operator can allocate a very large string without a limit.

    Seen in 1 report
  5. Repeated calls to Windows text-drawing functions triggered by attacker-controlled title changes consume excessive resources.

    Seen in 1 report
  6. Request complexity limits do not scale with the number of repeated selections in one operation.

    Seen in 1 report
  7. The reset endpoint neither rate limits requests nor checks the email matches the logged-in user.

    Seen in 1 report
  8. Resetting a request set the location pointer to null without freeing it, and cleanup did not free it either.

    Seen in 1 report
  9. Resident data size is read through a null-initialised variable instead of the checked one.

    Seen in 1 report
  10. Resources tied to WebGL context attributes are not released on page reload.

    Seen in 1 report
  11. Response-body rules match plain strings without special characters, so ordinary stored input triggers them.

    Seen in 1 report
  12. Retained header blocks are not counted against the session memory limit.

    Seen in 1 report
  13. Return data is decoded without checking its length, so an empty return reverts the transaction.

    Seen in 1 report
  14. Return requests can be placed and cancelled with no fee or time restriction, so reserved liquidity can be locked and released at no cost.

    Seen in 1 report
  15. The reuse predicate checks only the commit-time window and never verifies storage covers the cached basket's newest component.

    Seen in 1 report
  16. Reverts from logical checks in a receiver contract were not handled, and ordered delivery meant one stuck message blocked the rest.

    Seen in 1 report
  17. Reward accounting multiplies a huge reward amount by a tiny deposit without bounding the per-share value, so the result exceeds the integer limit.

    Seen in 1 report
  18. The reward loop does not handle a failing token transfer, so one revert blocks the whole claim.

    Seen in 1 report
  19. The reward loop uses a uint8 index while the reward token list has no upper bound.

    Seen in 1 report
  20. Reward-per-share values sit in a fixed-size array indexed by reward token position, so a later token exceeds the stored length.

    Seen in 1 report
  21. Rewards are aggregated into a single bank send, so one missing token balance fails the whole send.

    Seen in 1 report
  22. Rewards are recomputed by iterating every epoch since first deposit inside loops over positions and farms, giving cubic complexity.

    Seen in 1 report
  23. Role changes are disallowed when an action was created in the same block, and action creation is unlimited.

    Seen in 1 report
  24. The RPC runtime caches a successful call to an unrestricted function, which is then reused to skip the SID check.

    Seen in 1 report
  25. RPC worker threads handling batched requests acquire shared resources in an order that lets them wait on each other in a cycle.

    Seen in 1 report
  26. safeIncreaseAllowance was used without resetting the allowance to zero first, leaving a residual allowance that blocked later approvals.

    Seen in 1 report
  27. safeTransferFrom without a gas limit lets a malicious receiver consume all gas.

    Seen in 1 report
  28. Scrapy enforced download size limits only on compressed response bodies, not on decompressed data.

    Seen in 1 report
  29. The server calls string methods on the event name without checking it is a string.

    Seen in 1 report
  30. The server does not validate the start_sha field in a draft note position.

    Seen in 1 report
  31. Server-side length limits were not enforced on organisation name and description, so malformed JSON was stored and later crashed the app.

    Seen in 1 report
  32. Servers did not limit the number or size of continuation frames and did not time out streams lacking the end headers flag.

    Seen in 1 report
  33. Servers process each stream cancellation without sufficient rate limiting, enabling resource exhaustion.

    Seen in 1 report
  34. Services lack authentication, resource limits and input handling.

    Seen in 1 report
  35. Session creation leaves the status unset when the command list is empty, and cleanup only removes sessions marked valid or invalid.

    Seen in 1 report
  36. Setting a share unlock time and then immediately calling a bridge whose transfer check rejects while the unlock time is in the future.

    Seen in 1 report
  37. Settlement performs an external token transfer that can revert for blacklisted addresses with no fallback to store funds.

    Seen in 1 report
  38. Settlement sends native ether without wrapping it, giving the recipient control over the transfer.

    Seen in 1 report
  39. Several external token transfers are bundled in one call with no handling of individual failures.

    Seen in 1 report
  40. Several parsing functions use algorithms whose running time grows quadratically with input size.

    Seen in 1 report
  41. Share bytes are passed to a decryption routine without a length check, causing an out-of-bounds slice.

    Seen in 1 report
  42. Shares are stored keyed only by account, backup and share index without binding them to the current recovery session.

    Seen in 1 report
  43. The shutdown timer is only armed after the admin handle is woken, so it never arms for silent servers.

    Seen in 1 report
  44. Slashing unnecessarily calls a claim function that can revert.

    Seen in 1 report
  45. Slow Unicode normalisation is applied to very long invalid input before length validation.

    Seen in 1 report
  46. Solidity checked arithmetic is used where the original code expected unchecked underflow.

    Seen in 1 report
  47. Some ERC20 tokens revert on zero-value transfers, and the liquidation reward calculation can produce zero, causing the liquidation transfer to revert and blocking liquidations.

    Seen in 1 report
  48. Special characters and emojis in contact names were not handled when displaying the chat.

    Seen in 1 report
  49. SQL wildcard characters in user input are not escaped before a LIKE query.

    Seen in 1 report
  50. Stack memory was allocated and field records written using the client field count before validating it against the index limit.

    Seen in 1 report