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 win32kfull driver dereferences a pointer without checking it for null.
Seen in 14 reports
-
A regular expression with catastrophic backtracking is used in validation or parsing.
Seen in 13 reports
-
Deposits append to an unbounded per-user array that anyone can add to, and withdrawal loops over the whole array.
Seen in 12 reports
-
The message-ID function decompressed untrusted data before any size check, signature check or deduplication, sizing the buffer from an attacker-controlled header field.
Seen in 12 reports
-
The multipart boundary parser did not limit or correctly handle trailing characters after the boundary.
Seen in 11 reports
-
Dangerous writer and logging functions exposed to authenticated users without access control.
Seen in 8 reports
-
Services follow directory junctions without validating the real target path before deleting.
Seen in 8 reports
-
The exit-request path and the validator-exit path both decrease the same stake, and the subtraction has no guard against going below zero.
Seen in 8 reports
-
The function computes the last index as length minus one without first checking that the array is non-empty, causing an unsigned integer underflow.
Seen in 8 reports
-
A public function appends entries to a per-user array that later critical functions iterate over without a bound.
Seen in 7 reports
-
The deposit share quote and mint use unchecked arithmetic with no bound on total share supply.
Seen in 7 reports
-
Field and size values from messages are trusted without checking against the actual buffer length.
Seen in 7 reports
-
Fields are stored and processed without maximum length or validation.
Seen in 7 reports
-
Regular expressions with polynomial or catastrophic backtracking are applied to user input.
Seen in 7 reports
-
The code uses Solidity's transfer() with its fixed 2300 gas stipend instead of call() with a specified gas amount.
Seen in 7 reports
-
The SNMP service did not properly validate user-supplied data, causing sign extension and out-of-bounds reads.
Seen in 7 reports
-
Several input fields (SSH key title, username, email, root directory, full name, token name) had no maximum length enforced before processing.
Seen in 6 reports
-
The host virtualisation layer did not properly validate input coming from a privileged guest user.
Seen in 6 reports
-
Calling safeApprove with a new non-zero amount without first resetting any leftover allowance to zero.
Seen in 5 reports
-
Loops over arrays or balances have no upper bound, so gas can exceed the block gas limit.
Seen in 5 reports
-
Nested quantifiers and alternations in a regular expression allow catastrophic backtracking on crafted input.
Seen in 5 reports
-
Redemption maths adds a fixed virtual-shares offset to supply without an overflow check.
Seen in 5 reports
-
Services follow symbolic links without validating the real target path, letting a low-privileged user redirect a privileged file write.
Seen in 5 reports
-
The privileged backup service followed symbolic links in user-writable locations without validating the target path.
Seen in 5 reports
-
The service did not cap or throttle the resources a single request or connection could consume.
Seen in 5 reports
-
The service does not validate the length of user-supplied data before processing it.
Seen in 5 reports
-
The service followed a link or junction created by a low-privileged user without validating the real target path.
Seen in 5 reports
-
The URL validation regular expression contains nested or ambiguous repetition that allows catastrophic backtracking.
Seen in 5 reports
-
A 16-bit length or size field taken from network input is used without an overflow check, so it wraps around and causes an oversized length, an infinite loop or a huge underflowed length.
Seen in 4 reports
-
A 256-bit or wide integer is narrowed to a smaller integer type without a range check, causing a panic, wrap to zero or corrupted values.
Seen in 4 reports
-
Expensive post-quantum key generation and signing happen before any peer payload is read and pending handshakes are not counted against the connection limit.
Seen in 4 reports
-
Installers follow symbolic links without validating the target path, letting a low-privileged user redirect a privileged write.
Seen in 4 reports
-
Missing null checks and zero-length buffer checks before dereferencing pointers in driver IOCTLs.
Seen in 4 reports
-
Only the intended amount is approved but the router function pulls the entire token balance, so any extra balance reverts.
Seen in 4 reports
-
Opaque inner call bytes are decoded with a plain recursive decoder that has no depth limit, after the outer depth check has passed.
Seen in 4 reports
-
Services bind to all interfaces and lack connection timeouts, allowing file descriptor exhaustion.
Seen in 4 reports
-
State management errors and insufficient bounds checks in the browser engine lead to crashes on crafted content.
Seen in 4 reports
-
The code uses a standard transfer function that expects a return value, but non-standard tokens do not return one, causing a revert.
Seen in 4 reports
-
The conditional-call branch describes the main sub-call twice instead of reusing the result, doubling work at each nesting level.
Seen in 4 reports
-
The deep-merge routine copies special keys such as __proto__ or constructor.prototype from untrusted input without filtering them, so writes reach Object.prototype.
Seen in 4 reports
-
The draft endpoint does not apply the content-length validation that the post creation endpoint uses, so oversized payloads are processed and written before timeout.
Seen in 4 reports
-
The email validation regular expression contains ambiguous repetition that allows exponential backtracking.
Seen in 4 reports
-
The service trusted function values and file operations without validating them, so a local program could push it into a state where the system stops responding.
Seen in 4 reports
-
The set purchase token function reverts while any sale is enabled, and enabling a token is open to anyone.
Seen in 4 reports
-
A one-time permit signature was used inside a multi-step function without protection against front-running.
Seen in 3 reports
-
Attacker-controlled, unauthenticated nullifier public inputs are used as the semantic identity of unsigned transactions.
Seen in 3 reports
-
Checked addition of virtual or pending shares to raw supply without bounding the mintable supply.
Seen in 3 reports
-
Close paths recurse or use uninitialised buffers when validation fails or descriptors are unsupported.
Seen in 3 reports
-
Critical configuration, restore and erase operations are performed without authenticating the sender.
Seen in 3 reports
-
Nested loops over reward tokens and an unbounded per-user validator array with no cap or duplicate prevention.
Seen in 3 reports