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 501 to 550 of 2,053
  1. Header values are duplicated into struct members without freeing the previous allocation for the same member.

    Seen in 1 report
  2. HTTP client libraries are used with default settings that do not limit response size, enforce timeouts or restrict redirects.

    Seen in 1 report
  3. The HTTP transport accepts any compression encoding, so attacker-controlled Brotli responses reach a vulnerable decoder.

    Seen in 1 report
  4. The icon name is not checked against an allowed list and the frontend does not handle unknown icons.

    Seen in 1 report
  5. Image dimensions were taken from untrusted EXIF data without checking them against the real file size before allocating memory.

    Seen in 1 report
  6. Inactive prizes are never removed from the prizeIds array and there is no cap on its size, so loops over it become unbounded.

    Seen in 1 report
  7. Inadequate input validation on the recipient field allowed an invalid value that triggered an unhandled error loop.

    Seen in 1 report
  8. Incoming share requests were not rate-limited, so each triggered a blocking popup.

    Seen in 1 report
  9. Incoming votes are added to the collected list without verifying their cryptographic signatures.

    Seen in 1 report
  10. Individual external call failures are not handled, so one revert blocks the entire rebalance.

    Seen in 1 report
  11. Input and source vector lengths were not validated before an unchecked array access during signing.

    Seen in 1 report
  12. Input was validated with a regex with poor worst-case performance and no length limit, and the value was echoed in error responses.

    Seen in 1 report
  13. Insufficient validation of RPC request sizes leads to excessive memory allocation.

    Seen in 1 report
  14. Integer division in the token-to-votes conversion truncates so minting and burning round differently.

    Seen in 1 report
  15. Integer division rounds down and mismatches the collateral check when the division is not exact.

    Seen in 1 report
  16. Integer division truncates a fractional quotient below one to zero, which then feeds a logarithm of zero.

    Seen in 1 report
  17. Integer division truncates small refills to zero while the last-updated timestamp is still advanced, discarding the elapsed time.

    Seen in 1 report
  18. Integer division truncates to zero and the result is then used as a divisor without handling that case.

    Seen in 1 report
  19. Integer division truncates to zero when the elapsed time is very small and the user's share of supply is tiny.

    Seen in 1 report
  20. Integer division truncation in the coins per second calculation can yield zero and cause a division-by-zero error when computing the start time.

    Seen in 1 report
  21. An integer read from an HTTP header is used directly to allocate an array and control a loop.

    Seen in 1 report
  22. Integer rounding makes the divisor zero for small bid factors and low-precision prices.

    Seen in 1 report
  23. Internal helpers that read and write proxy implementations had their logic commented out, so they returned zero and stored nothing.

    Seen in 1 report
  24. Invitations were sent to syntactically invalid addresses, so bounces could accumulate and suspend the outbound mail service.

    Seen in 1 report
  25. The invite flow fails when an existing user's email matches the invited address.

    Seen in 1 report
  26. The IRQL raised flag is not managed correctly during IOCTL processing, causing a worker thread deadlock.

    Seen in 1 report
  27. Iterating over an unbounded user-controlled array without batching or a gas limit.

    Seen in 1 report
  28. Job execution requires gas price at or below the user's limit, so no alternative operator can step in.

    Seen in 1 report
  29. Join validation de-duplicates only by public key and never checks for duplicate address and port pairs.

    Seen in 1 report
  30. Jump destination validation uses the creation code length instead of zero and then calls a zero address.

    Seen in 1 report
  31. Leftover collateral is unconditionally transferred to the borrower without handling a rejected transfer.

    Seen in 1 report
  32. The limiter keys IPv6 clients by full /128 address instead of a shared prefix.

    Seen in 1 report
  33. Line information is not updated before justification, so an unsigned subtraction underflows and produces a huge length.

    Seen in 1 report
  34. Line matching scans all open boundaries character by character with no efficient lookup.

    Seen in 1 report
  35. The line reader processes characters one by one with no limit on line length.

    Seen in 1 report
  36. A linear scan over all tiers is used instead of a bounded search.

    Seen in 1 report
  37. Liquidation pushes the NFT with a safe transfer that invokes the borrower's callback.

    Seen in 1 report
  38. Liquidation uses the same loop limit as other functions but can require up to twice the number of markets in orders.

    Seen in 1 report
  39. The log directory is writable by unprivileged users and log file names are predictable.

    Seen in 1 report
  40. The loop condition allows the index to reach a value that the deploy step then accesses out of bounds.

    Seen in 1 report
  41. Loop detection compared raw path strings without normalising trailing slashes.

    Seen in 1 report
  42. A low-level call reverts on failure with no handling for recipients that cannot receive Ether.

    Seen in 1 report
  43. Malformed percent-encoded sequences in URLs were not validated or handled, breaking the page for viewers.

    Seen in 1 report
  44. Maximum amount parameters were not validated before increasing the router allowance.

    Seen in 1 report
  45. Measuring the transferred amount by balance difference is unreliable with ERC777 because the receiver hook can change the balance mid-transfer.

    Seen in 1 report
  46. Memory allocated for a connection is not released when the connection ends abruptly or through an invalid header rather than a normal shutdown.

    Seen in 1 report
  47. Memory allocated per new TCP connection is not freed when the connection ends.

    Seen in 1 report
  48. Memory handling in web content processing was flawed and needed improving.

    Seen in 1 report
  49. Memory is allocated from an attacker-controlled count before checking that the count is reasonable.

    Seen in 1 report
  50. Message bodies were stored and rendered without output encoding and accepted unbounded length.

    Seen in 1 report