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.
-
The oops recovery path fails to release reference counts and locks, and the mm_users refcount uses an overflow-unsafe atomic type.
Seen in 1 report
-
The opcode handler calls a method that returns a copy of the entire bytecode array instead of one that returns only the length.
-
The operation input count is stored in a 16-bit field with only a debug-only guard, so release builds truncate it.
Seen in 1 report
-
The optimiser's reductions assumed subnormal Float64 values could not occur, so with flush-to-zero enabled they emitted a negative subnormal that broke an integer-range assumption.
Seen in 1 report
-
The option pricing library converts time-to-expiry to whole days by integer division, so any remaining time under 864 seconds becomes zero and causes a division by zero in the Black-Scholes formula.
Seen in 1 report
-
The oracle design assumes every underlying token has a price feed, but some do not.
-
The oracle used a fixed maximum response size and did not split failing queries into smaller chunks.
Seen in 1 report
-
The orchestrator assumed token metadata was valid UTF-8 and returned an error with no way to skip the bad event.
Seen in 1 report
-
The order is cleared in storage before the removal function reads it, so a zero address is used.
Seen in 1 report
-
The OTP generation endpoint lacked rate limiting and CAPTCHA, allowing unlimited requests.
Seen in 1 report
-
The outdated ansi-regex library contains a regular expression with nested quantifiers that leads to catastrophic backtracking on certain inputs.
Seen in 1 report
-
The overflow check itself can overflow because it subtracts the current time from the maximum value without accounting for wrapping.
Seen in 1 report
-
The override runs synchronous proof generation inside the async handler, dropping the semaphore, proof-window check and blocking-pool offload.
-
The owner lookup scales with the number of tickets in a batch, so a large batch exceeds the block gas limit.
Seen in 1 report
-
The packaging sort orders by count of votes against an item in descending order, so flagged items are prioritised.
Seen in 1 report
-
The packet processing loop lacked a fallback termination condition independent of packet content.
Seen in 1 report
-
The page-size reader deserialises dimensions without upper-bound, infinity or NaN validation.
Seen in 1 report
-
The pagination limit is used directly in the backend query with no server-side maximum.
Seen in 1 report
-
The pagination loop trusted the explorer's page length to decide when to stop and had no upper bound on pages or stored transactions.
Seen in 1 report
-
The pair creation call reverted if a pair already existed and anyone could create the pair beforehand.
Seen in 1 report
-
The panel rendering logic did not detect or limit recursive embedding of a panel within itself.
Seen in 1 report
-
The parser accepted a cookie line larger than the limit enforced when reloading the jar, making the jar unloadable.
Seen in 1 report
-
The parser applied attributes to the wrong service entry because it did not reset per-entry state between definitions.
Seen in 1 report
-
The parser assumes array elements and the param field are objects and accesses them without validating their type.
Seen in 1 report
-
The parser assumes every transaction has a compute phase, but the compute phase can be the skipped variant.
Seen in 1 report
-
The parser casts an internal object to the wrong type without validating it when a reviver and a BigInt64Array constructor are used.
Seen in 1 report
-
The parser copies attacker-controlled keys onto objects without guarding against prototype assignment.
Seen in 1 report
-
The parser did not limit how many headers or how much related state a single request could create.
Seen in 1 report
-
The parser does not check that a length value fits into a signed integer before converting it.
Seen in 1 report
-
Medium
-
-
The parser does not check the return value of the presentation context list parser, leaving the buffer position negative and causing an infinite loop.
Seen in 1 report
-
The parser does not validate relocation table size or offset values before using them in a bounds check, allowing an integer overflow.
Seen in 1 report
-
The parser does not validate that each array element is an object with a string command key, so invalid requests never complete.
Seen in 1 report
-
The parser limited file parts but not the total number of parts, allowing unbounded empty parts.
Seen in 1 report
-
The parser lookup used the in operator on a plain object, so inherited Object prototype properties were treated as registered parsers and the code then called a non-parser value.
Seen in 1 report
-
The parser loops without advancing the input pointer when a byte is neither of the expected values.
Seen in 1 report
-
The parser passed component names straight into struct construction without checking they were valid identifiers.
Seen in 1 report
-
The parser passed the key returned by the tokeniser to a string duplication call without checking it for null.
Seen in 1 report
-
The parser recursed without a depth limit and the JSON depth limit was reset on each recursive call.
-
The parser recursed without a depth limit on nested query fields, and the mutation guard only checked for the GET method rather than allowing only POST.
Seen in 1 report
-
The parser relied on a standard XML library without disabling entity expansion.
Seen in 1 report
-
The parser resolves nested entity references recursively without a depth limit.
Seen in 1 report
-
The parser subtracted the header size from the AVP length without first checking the length was at least the header size, causing an underflow and an enormous allocation.
Seen in 1 report
-
The parsing of packets with a server name indication field is flawed.
Seen in 1 report
-
The participant phone number parser treated illegal numbers as null and threw a null pointer exception.
Seen in 1 report
-
The passthrough light node skipped the prevalidation step that the sequencer light node performs.
-
The password length limit existed only in the client and the backend accepted any length.
Seen in 1 report
-
The password reset endpoint accepted passwords of unlimited length and hashed them without a size cap.
Seen in 1 report
-
The password reset endpoint does not enforce a maximum password length.
Seen in 1 report
-
The password reset endpoint has no rate limit, allowing unlimited OTP emails to be sent.
Seen in 1 report
-
The password reset endpoint has no rate limiting, allowing unlimited requests.
Seen in 1 report