StandardDraft
CAPEC-492Regular Expression Exponential Blowup
Abstraction
Standard
Status
Draft
Description
An adversary may execute an attack on a program that uses a poor Regular Expression(Regex) implementation by choosing input that results in an extreme situation for the Regex. A typical extreme situation operates at exponential time compared to the input size. This is due to most implementations using a Nondeterministic Finite Automaton(NFA) state machine to be built by the Regex algorithm since NFA allows backtracking and thus more complex regular expressions.
Related weaknesses· 2
Related attack patterns· 1
Exploits2
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Uncontrolled Resource Consumptioncwe-400 | 100% | live |
| Weakness | Inefficient Regular Expression Complexitycwe-1333 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.