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 2,001 to 2,050 of 2,053
  1. Total assets include tokens sent to the allocator but not yet allocated to the portal, so reported and withdrawable assets diverge.

    Seen in 1 report
  2. Transaction validation does not compare the gas limit against the block gas limit.

    Seen in 1 report
  3. Transactions from received blocks were added to the pool without certain checks, including input validity, and stayed after the block was found invalid.

    Seen in 1 report
  4. Transfer finalisation enables the recipient's collateral bit without consent or a maximum reserve check.

    Seen in 1 report
  5. transfer used instead of call, hardcoding a gas stipend too small for contract recipients.

    Seen in 1 report
  6. Transporter lookup returns null for an unknown ID and the caller dereferences it without a null check.

    Seen in 1 report
  7. Treating a non-zero pair address as proof of liquidity, though anyone can create an empty pair.

    Seen in 1 report
  8. Two allocation results shared one status variable, so a later success overwrote an earlier failure.

    Seen in 1 report
  9. Two large values are multiplied directly without overflow protection.

    Seen in 1 report
  10. Two out-of-bounds array reads existed in Python's AST builder.

    Seen in 1 report
  11. Unauthenticated endpoint concatenates many scripts into a large response without rate limiting.

    Seen in 1 report
  12. Unbounded arrays with no pagination, so view functions iterating over all entries exceed gas or RPC limits.

    Seen in 1 report
  13. Unbounded fractional-seconds string converted to an integer and raised to a power derived from its length.

    Seen in 1 report
  14. Uncompressed size of uploaded archives not checked before writing to disk.

    Seen in 1 report
  15. Unconditionally setting the repayment amount to the maximum, which becomes zero when there is no debt.

    Seen in 1 report
  16. unknownProtocol handler does not close the socket when the client does not respond.

    Seen in 1 report
  17. Upgrade endpoint has no authentication and does not validate the uploaded firmware before rebooting.

    Seen in 1 report
  18. Upload checks only MIME type and file size, not declared pixel dimensions, before full decoding.

    Seen in 1 report
  19. Use of an approval function that requires the current allowance to be zero.

    Seen in 1 report
  20. User files were passed straight to the CSV reader without limiting decompressed size or rejecting compressed input.

    Seen in 1 report
  21. User input is concatenated into a regular expression without escaping or limiting complexity.

    Seen in 1 report
  22. User input reaches a reflection call without validating which types or members may be used.

    Seen in 1 report
  23. User-controlled parameter passed to a dynamic method call, allowing arbitrary methods such as sleep.

    Seen in 1 report
  24. User-controlled regex was compiled and evaluated with no timeout and no check on pattern complexity.

    Seen in 1 report
  25. User-supplied gas limit not capped to a realistic maximum for the destination chain.

    Seen in 1 report
  26. User-supplied glob string compiled as a regular expression with only dots and wildcards escaped.

    Seen in 1 report
  27. User-supplied input is used directly as a regular expression without validation.

    Seen in 1 report
  28. User-supplied length copied into a fixed stack buffer without validation.

    Seen in 1 report
  29. User-supplied length value truncated and used to size a buffer without validation.

    Seen in 1 report
  30. User-supplied values are used to build cookie headers without validation or encoding.

    Seen in 1 report
  31. Username input was not validated for invalid UTF-8 before being stored and rendered in the audit log view.

    Seen in 1 report
  32. Username validation used an inefficient regular expression that backtracked heavily on crafted input.

    Seen in 1 report
  33. Using a token's total supply being zero as a proxy for 'this is a stash token without balanceOf'.

    Seen in 1 report
  34. Using transfer instead of call hardcodes a 2300 gas stipend that may become insufficient.

    Seen in 1 report
  35. Utilisation formula does not cap at 100 percent, so the borrow rate can exceed the maximum and trigger a revert.

    Seen in 1 report
  36. Validation checked only file size and dimensions, not the number of frames in an animated image.

    Seen in 1 report
  37. Validation in the add and replace factory functions is inverted or missing, so duplicate entries are allowed.

    Seen in 1 report
  38. Validation places expensive block hash verification and payload processing before the cheap signature check.

    Seen in 1 report
  39. Validation used non-negative checks instead of strictly positive checks, and price calculation can round down to zero.

    Seen in 1 report
  40. Variable name rather than value parsed as an integer, and the thrown exception type is not caught by the driver or applications.

    Seen in 1 report
  41. Vendor ID payload dereferenced without validation.

    Seen in 1 report
  42. Waiting flag can only be cleared by the same provider that was asked for randomness.

    Seen in 1 report
  43. When a share balance reaches zero the entry is set to zero instead of being removed from the enumerable map, so the map grows without bound.

    Seen in 1 report
  44. When the integer property 0x3 is set, the code does not check that the pointer at offset +38h actually refers to a composition object before passing it to the kernel graphics call.

    Seen in 1 report
  45. Wildcard mask matching rescans the whole per-suffix bucket once per result.

    Seen in 1 report
  46. Windows Defender followed a directory junction created by a low-privileged user and deleted a file outside its intended scope.

    Seen in 1 report
  47. Withdrawal guard uses a strict greater-than check while trove opening uses greater-than-or-equal, so a trove at exactly the minimum blocks withdrawals.

    Seen in 1 report
  48. Withdrawal ratios are kept on a fixed 18-decimal scale and not converted to the token's decimals.

    Seen in 1 report
  49. Witness data collection does not validate calldata while the parser assumes every entry is a valid message call and aborts on any error.

    Seen in 1 report
  50. Workgroup memory size was calculated two different ways, one validated and one including unbounded alignment padding.

    Seen in 1 report