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.
-
No minimum deposit amount on the share deposit function.
Seen in 1 report
-
No minimum deposit and uncapped high-precision scaling.
Seen in 1 report
-
No nil check on a nested message before field access, and memory allocated from an unverified length prefix before signature checking.
Seen in 1 report
-
No per-record size, per-user row count or cumulative byte quota was applied and the client controlled the primary key component.
-
No practical limit on the number of references parsed from user-controlled fields, so background workers consume unbounded memory.
Seen in 1 report
-
No rate limit is enforced on the post creation endpoint.
Seen in 1 report
-
No rate limit or anti-automation control on chat messages.
Seen in 1 report
-
No rate limiting on document title updates allows excessive DOM mutations to saturate the CPU.
Seen in 1 report
-
No rate limiting on the endpoint plus error-state flags set on failure but never reset.
Seen in 1 report
-
No rate limiting or cap on stored entries allows unlimited automated submissions.
Seen in 1 report
-
No reasonable limit on total chunk extension length.
Seen in 1 report
-
No recursion depth limit in browse path translation, and no synchronisation around node create and delete.
Seen in 1 report
-
No request rate limits, upload quotas or frequency restrictions on the media upload endpoint.
Seen in 1 report
-
No strict pre-authentication idle timeout and no per-IP connection rate limit.
-
No swap fee plus instant price updates and public mempool visibility makes sandwich-based denial of service cheap.
Seen in 1 report
-
No upper bound is enforced on commission and referral percentages.
Seen in 1 report
-
No validation or limit on filename length, breaking file handling and URL operations.
Seen in 1 report
-
No validation that the short amount is greater than zero, allowing zero-value positions to be created and transferred.
Seen in 1 report
-
Non-compliant middleboxes answered crafted packet sequences with far more traffic than they received.
Seen in 1 report
-
Nonce responses are inserted without checking the nonce value or that the number of nonces matches the number of key IDs.
-
Not accounting for the borrower reducing debt shares before liquidation, causing an underflow on the full original amount.
Seen in 1 report
-
Not checking the return value of the thread attribute call, leaving the attribute structure uninitialised before destroy frees it.
-
Not checking whether the protocol buffer decoding function returned null before dereferencing the result.
-
Offer creation does not reject the zero address as owner or recipient, so an unfillable offer can sit at the head of the sorted list.
Seen in 1 report
-
One array is shortened via assembly while the matching maximum array keeps full length, so the vault rejects the join.
Seen in 1 report
-
One client uses a signed 32-bit limit for memory word size instead of the unsigned limit.
Seen in 1 report
-
One global rollover queue is shared across epochs, so entries from many rounds accumulate and are all processed each time.
Seen in 1 report
-
Only a per-IP rate limit on the reset endpoint, with no per-account limit.
Seen in 1 report
-
Only newly redeemed ETH is wrapped while the sufficiency check counts pre-existing ETH that is never wrapped.
Seen in 1 report
-
Only one active deployment request per project is allowed and there is no timeout or cancellation to reset a stalled one.
Seen in 1 report
-
Only the maximum length was checked, not the minimum, before slicing the first bytes.
Seen in 1 report
-
Oracle call without try or catch, so a feed revert blocks all dependent functions.
Seen in 1 report
-
The oracle mark-refresh getter is called before the accepted-mark check, so the permissive branches are unreachable.
-
Order creation lacks a check that the input amount is greater than zero.
Seen in 1 report
-
Order validation did not cap the number of offers, so the stop path could cost more gas than a block allows.
Seen in 1 report
-
Out-of-gas handling during execution of deeply nested structs raises an uncaught panic.
Seen in 1 report
-
Critical
-
-
Out-of-memory handling used a longjmp that skipped cleanup, leaving a half-built hash table that teardown trusted.
Seen in 1 report
-
Outlook does not properly validate or manage memory when processing MIME headers, leading to an invalid pointer being released.
Seen in 1 report
-
Outstanding principal subtracts repayments from total lent without an underflow check.
Seen in 1 report
-
Oversized headers are buffered without a hard cap while building a 413 response.
Seen in 1 report
-
Ownership can be set to the zero address and the end function later transfers tokens to it.
Seen in 1 report
-
The packet length field is not validated against the maximum buffer size before memory operations.
Seen in 1 report
-
Packet length is not checked against a minimum before subtraction, causing an integer underflow.
Seen in 1 report
-
Page creation did not validate or normalise the title path, so traversal produced an invalid page location.
Seen in 1 report
-
Pagination starts from key zero and returns no results when the first key in the range is absent, so the next key never advances.
Seen in 1 report
-
Parallel vectors get out of step because a zero expiration period skips creating the matching record.
-
Parsed parameters are copied into a fixed local array without bounds checking.
Seen in 1 report
-
Parser and renderer loops repeatedly scan linked lists or expand table rows, so work grows quadratically.
-
The parser scans to the end of input for a closing bracket on each incomplete link, giving quadratic time.
-
Passing an LDAP response to the underlying library without validating it first.
Seen in 1 report