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 401 to 450 of 2,053
  1. Chunk ID is used to look up a buffer without checking it is within the supported range.

    Seen in 1 report
  2. Chunk parser copies the declared length into a fixed-size buffer without checking it against the buffer size.

    Seen in 1 report
  3. Cleanup counts all listeners for an event instead of checking for remaining filtered listeners, and runs before the listener is removed.

    Seen in 1 report
  4. Client certificate contents are not validated before processing.

    Seen in 1 report
  5. Client poll loop does not handle empty header values and blocks indefinitely.

    Seen in 1 report
  6. Client-side code decoded a percent-encoded value without checking the following characters were valid hexadecimal digits.

    Seen in 1 report
  7. Client-supplied object reference passed to ObjectSpace._id2ref without validation.

    Seen in 1 report
  8. Code assumes every ERC20 transfer returns a boolean.

    Seen in 1 report
  9. Code was ported from an older Solidity version to 0.8 without unchecked blocks around arithmetic meant to overflow.

    Seen in 1 report
  10. Colour field stored without validation against the formats the frontend can render.

    Seen in 1 report
  11. Comment endpoints accepted repeated submissions without any throttling.

    Seen in 1 report
  12. Competing event handlers are not coordinated or serialised.

    Seen in 1 report
  13. Computing the last index as length minus one before checking for an empty array, so the subtraction underflows.

    Seen in 1 report
  14. Configuration values used as divisors or loop capacities are not validated as greater than zero.

    Seen in 1 report
  15. Connection handling enforces a fixed maximum number of simultaneous connections with no authentication or rate limiting.

    Seen in 1 report
  16. Converting the desired amount with integer division truncates downwards, so the redemption returns slightly less.

    Seen in 1 report
  17. Cookie engine accepts control codes in names and values.

    Seen in 1 report
  18. Cookie values are parsed without proper memory management.

    Seen in 1 report
  19. Corrupted JPEG thumbnail data is decoded without validation before use.

    Seen in 1 report
  20. CREATE2 with a salt derived only from the asset address, combined with a permissionless createJoin function, allowed anyone to occupy the deterministic address.

    Seen in 1 report
  21. Creation uses integer-times-decimal multiplication while cancellation uses decimal-times-decimal multiplication with different overflow behaviour.

    Seen in 1 report
  22. Credit function is callable by anyone with a tiny value and changes the lien hash used by validation checks.

    Seen in 1 report
  23. Critical section not released on an error path, session counter decremented incorrectly, memory leaked on error.

    Seen in 1 report
  24. Cycle records are chosen by a gameable hash-based score rather than consensus voting, so one node can brute-force a high-scoring fake record.

    Seen in 1 report
  25. Dashboard YAML is loaded without prior size, complexity or schema validation.

    Seen in 1 report
  26. Date inputs are not validated or bounded, so the renderer processes an enormous range of dates.

    Seen in 1 report
  27. Debugging JSON-RPC methods are enabled by default on a public node without access controls.

    Seen in 1 report
  28. The declared uncompressed size is checked but the actual read is not limited during package extraction.

    Seen in 1 report
  29. Decompression and processing of compressed request bodies runs without limiting total memory use or concurrency.

    Seen in 1 report
  30. Brotli decompression buffers all extracted data into one output buffer with no maximum size.

    Seen in 1 report
  31. DA blob decompression runs with no output size limit and happens before signature verification.

    Seen in 1 report
  32. The deeplink handler parses login data without catching exceptions.

    Seen in 1 report
  33. Deletion zeroes array entries instead of removing them, so arrays never shrink.

    Seen in 1 report
  34. Dense recurrence rules were only validated on some import paths and rendering had no upper bound on occurrences.

    Seen in 1 report
  35. The deposit loop calls each derivative's deposit without checking external protocol limits or availability.

    Seen in 1 report
  36. The deposit loop reverts instead of skipping a validator key already marked active.

    Seen in 1 report
  37. Deprecated code that lets an admin conditionally revert transactions based on user identity was left in the contract.

    Seen in 1 report
  38. The sqlquery pointer is dereferenced without a null check while processing features.

    Seen in 1 report
  39. Deserialisation reads a length field from the stream and allocates or loops on it without checking against a sane maximum.

    Seen in 1 report
  40. Destination gas was hardcoded to zero and the receive handler did not validate source chain, sender or token.

    Seen in 1 report
  41. Detached tasks hold semaphore permits for their whole lifetime regardless of client disconnect, and a single-threaded routing loop blocks when the downstream channel is full.

    Seen in 1 report
  42. Direct Ether transfers to the borrower can be blocked by a reverting receive function.

    Seen in 1 report
  43. Disapproval only checks that the action is queued, not that it is still before the minimum execution time.

    Seen in 1 report
  44. Distribution processes all gauges in one loop without handling per-gauge failures.

    Seen in 1 report
  45. Dividing before multiplying rounds the value to zero, with no minimum oracle decimal precision enforced.

    Seen in 1 report
  46. DNSSEC verification complexity can be exploited to exhaust CPU resources and stall DNS resolvers.

    Seen in 1 report
  47. Doubling a 32-bit size in the buffer resize function can wrap around and loop forever.

    Seen in 1 report
  48. Downloaded artifacts are read fully into memory with no size limit.

    Seen in 1 report
  49. The driver applies transmit power values from beacon frames without verifying the sender.

    Seen in 1 report
  50. DTLS packets are not filtered against the address and port validated by ICE.

    Seen in 1 report