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.
-
Password hashing does not cap the maximum accepted password length.
Seen in 1 report
-
Path confusion meant the application could not determine the next location, producing a redirect loop.
Seen in 1 report
-
Pattern matching in the auto-linker has worse than linear complexity on certain repeated character sequences.
Seen in 1 report
-
Peer metadata was refreshed only every 30 minutes, so a field read during peer filtering was stale right after the fork.
Seen in 1 report
-
Peerstore entries were inserted on every identify handshake but only removed by a monitoring routine that was disabled by default.
Seen in 1 report
-
Pending deposit requests are fetched without a count limit and the full Bitcoin transaction is serialised and stored for each one.
Seen in 1 report
-
Pending I/O request packets were not cleaned up when the owning process exited while an operation was still in flight.
Seen in 1 report
-
Pending requests are tracked only by account ID and the caller's address is not checked against the owner.
Seen in 1 report
-
Per-type message vectors are never pruned after processing, so attacker-supplied messages grow without bound.
Seen in 1 report
-
Per-user liquidation history is one ever-growing vector processed without pagination or bounds.
Seen in 1 report
-
The permit signature commits to an exact asset amount derived from a mutable exchange rate.
Seen in 1 report
-
The piecewise linear helper does not handle input below the first x-value and the setter does not require the first x-value to be zero.
-
Plain approve is used instead of a safe approval helper that handles tokens without a boolean return.
Seen in 1 report
-
Point validation did not check that coordinates were smaller than the field modulus.
Seen in 1 report
-
Precision loss in the deposit claim calculation made the sum of individual pending amounts exceed the total pending deposit.
Seen in 1 report
-
Precision loss in the VRGDA fixed-point math causes a parameter to reach zero, leading to a revert when timeSinceStart is large.
Seen in 1 report
-
Precompile methods return early on error before calling the gas consumption function.
-
Precompiles charged gas based on input length only after successfully decoding the selector and arguments, so decode failures were free.
Seen in 1 report
-
Prevalidation checked only the signature and an optional whitelist, not whether the sender could cover gas fees.
-
Prevalidation only deserialises and verifies the signature, ignoring priority, sequence number and ID.
Seen in 1 report
-
Preview generation did not limit resources when handling malformed image files.
Seen in 1 report
-
Price bounds are applied unconditionally, including when closing a loan with no debt left.
-
Price calculation divides by total supply without checking for zero supply or zero underlying value.
Seen in 1 report
-
Price validation does not reject scientific notation or enforce numeric bounds before the value reaches the database and a costly decimal conversion.
Seen in 1 report
-
A privileged service creates files without checking whether the target path is a symbolic link.
Seen in 1 report
-
Proposal handlers were configured with a no-op mempool, skipping transaction validation.
-
The protocol permits unauthenticated service registration, inflating responses.
-
A public approve function with no access control lets anyone reset allowances.
Seen in 1 report
-
Refunds are pushed via direct token transfer instead of a pull pattern, so a failing transfer blocks new bids.
-
Query parameter values are copied into cookies without validating or capping their length.
Seen in 1 report
-
The queue processes entries in strict order and does not skip entries whose token transfer reverts.
Seen in 1 report
-
Queue processing calls token transfers without handling failure, so one blocked address freezes the queue.
Seen in 1 report
-
Rate limit keyed on exact request content, so small mutations make each request look new.
-
Rate limiting is not enforced on the resend invite mutation despite rate limit headers.
Seen in 1 report
-
Rate-limit state stored transfers in an unbounded slice and the end-of-block logic iterated over every token and transfer each block.
Seen in 1 report
-
A raw string is passed to a decimal conversion and then to an integer conversion with no length or exponent limit.
Seen in 1 report
-
The recommendation request loops until the PHP execution time limit when many circles and folders exist.
Seen in 1 report
-
Recording the full requested amount without adjusting for transfer rounding that delivers a few wei less.
Seen in 1 report
-
Recovering signatures with a reverting function instead of a non-reverting alternative.
-
Recurring implementation errors in DNS message parsing across several TCP/IP stacks.
Seen in 1 report
-
Recursive payload hashing and logging without memoisation gives exponential time while holding a global mutex.
Seen in 1 report
-
Redeem requests were processed in a single unbounded loop during block initialisation.
Seen in 1 report
-
Redeem requires a non-zero asset amount, but integer division of small share amounts rounds to zero.
Seen in 1 report
-
A reference count is incremented without a matching decrement, and a signed overflow can make it negative.
-
A regex stripping trailing HTML entities from autolinked URLs backtracks heavily once input is escaped into long entity-like text.
Seen in 1 report
-
A regex with overlapping quantifiers backtracks excessively on comma-heavy input.
Seen in 1 report
-
Registration has no access control or token whitelisting and a hard cap per pool per period, so worthless rewarders can fill every slot.
-
The regex parsing the Content-Disposition header has nested quantifiers allowing exponential backtracking.
Seen in 1 report
-
Regular expressions with ambiguous matching in the HTML truncation logic.
-
Released totals were tracked globally rather than per token, mixing amounts from different tokens.
Seen in 1 report