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 redemption loop does not stop when the sorted list returns a null identity, so a later lookup reverts.
Seen in 1 report
-
The redirect function does not verify that the requested path ends with .git before redirecting, so it redirects to the same URL indefinitely.
Seen in 1 report
-
The reentrancy check calls remove_liquidity with zero amounts, which some Curve pools reject with an underflow, so the guard itself reverts.
Seen in 1 report
-
The refund helper sends the entire contract balance with a direct call that requires the recipient to accept native tokens.
Seen in 1 report
-
The refund logic iterates over an unbounded array of deposits without a size limit.
Seen in 1 report
-
The refundNative modifier unconditionally unwraps and forwards any wrapped native balance to msg.sender and reverts on failure, even when the call had nothing to do with native tokens.
Seen in 1 report
-
The regex extracting the job group name had catastrophic backtracking.
Seen in 1 report
-
The regex stripping parenthesised comments during date parsing had quadratic complexity.
Seen in 1 report
-
The regex that strips HTML comments uses a lazy quantifier with alternation that backtracks catastrophically on long unterminated comments.
Seen in 1 report
-
Medium
-
-
The regexp compiler emits a character-load instruction with a negative offset for long lookbehind literals, breaking an internal bound.
-
The registration code appended a colon to the domain name for the token ID while the NFT module rejected colons.
-
The registration endpoint did not implement any rate-limiting mechanism.
Seen in 1 report
-
The regular expression behind the style format has polynomial-time backtracking.
Seen in 1 report
-
The regular expression contained a nested repetition that allowed exponential backtracking when matching a long sequence of digits without a full match.
-
The regular expression contained nested quantifiers that caused catastrophic backtracking when matching invalid ANSI escape sequences.
Seen in 1 report
-
The regular expression contained overlapping or ambiguous clauses that allowed exponential backtracking.
-
The regular expression contains nested repetition that leads to exponential backtracking when the input does not fully match.
-
The regular expression for link detection had overlapping clauses that allowed exponential backtracking.
-
The regular expression had overlapping or ambiguous clauses that allowed exponential backtracking.
-
The regular expression has nested quantifiers that cause catastrophic backtracking.
Seen in 1 report
-
The regular expression in headerValueNormalize has catastrophic backtracking.
Seen in 1 report
-
The regular expression in the escape helper had catastrophic backtracking.
Seen in 1 report
-
The regular expression is built by inserting user-controlled strings directly into the pattern, allowing an attacker to supply a pattern that causes catastrophic backtracking.
Seen in 1 report
-
The regular expression parsing digest parameter values has nested repetition that backtracks catastrophically.
-
The regular expression sub-pattern had quantified overlapping adjacency, leading to catastrophic backtracking on invalid input.
Seen in 1 report
-
The regular expression that formats relative links has polynomial time complexity on crafted input.
-
The regular expression used an alternation that could match the same character in two ways, leading to exponential backtracking.
Seen in 1 report
-
The regular expression used by python-multipart to parse the Content-Type header has catastrophic backtracking, allowing a crafted header to cause excessive CPU consumption.
Seen in 1 report
-
The regular expression used by the url validator had inefficient complexity that allowed catastrophic backtracking.
Seen in 1 report
-
The regular expression used for tenant ID validation contains nested repetition where a dot alternative overlaps with other alternatives, leading to exponential backtracking on non-matching input.
-
The regular expression used in the origin trustworthiness check has catastrophic backtracking when matching strings with many alternating letters and periods.
Seen in 1 report
-
The regular expression used in the url2 method has nested quantifiers that cause exponential backtracking on certain inputs.
-
The regular expression used nested quantifiers that caused catastrophic backtracking.
Seen in 1 report
-
The regular expression used nested repetition over overlapping character classes, causing catastrophic backtracking.
Seen in 1 report
-
The regular expression used to convert SQL wildcards contains nested repetition, leading to catastrophic backtracking on crafted input.
-
The regular expression used to extract URLs contains nested repetitions that allow catastrophic backtracking on crafted input.
-
The regular expression used to parse commit trailers contains nested quantifiers that cause catastrophic backtracking when matching certain crafted strings.
-
The regular expression used to strip comments had nested quantifiers that caused catastrophic backtracking.
-
The regular expressions contained ambiguous or overlapping clauses that allowed exponential backtracking.
-
The regular expressions contained ambiguous or overlapping clauses that allowed exponential backtracking.
-
The regular expressions in Rouge lexers had overlapping patterns that caused catastrophic backtracking.
Seen in 1 report
-
$600 Medium
-
-
The regular expressions used for parsing XML and for handling responses without a base tag were not designed to handle adversarial input efficiently, leading to catastrophic backtracking.
Seen in 1 report
-
The regular expressions used internally by the date parsing methods had catastrophic backtracking.
Seen in 1 report
-
The regular expressions used nested quantifiers that caused catastrophic backtracking on crafted input.
-
The regular expressions used to parse quoted and unquoted multipart header values are vulnerable to catastrophic backtracking (ReDoS).
Seen in 1 report
-
The reindexing traversal exits early on stack limit without checking for or propagating stack overflow.
Seen in 1 report
-
The release command did not verify the sender owned the session, and the session ID was only one byte.
Seen in 1 report
-
The relock function unconditionally calls lock on the vlCVX contract without checking whether that contract has been shut down, and lock reverts when isShutdown is true.
-
The removal check required no assets but anyone could deposit into the position.
Seen in 1 report
-
The removal function does not verify that no fee handler still references the gauge being killed, leaving a stale pointer to a disabled contract.
Seen in 1 report