Chrome Extension
WeChat Mini Program
Use on ChatGLM

Turning evil regexes harmless

SAICSIT(2017)

Cited 12|Views37
No score
Abstract
We explore the relationship between ambiguity in automata and regular expressions on the one hand, and the matching time of backtracking regular expression matchers on the other. We focus in particular on the extreme cases where we have either an exponential amount of ambiguity or no ambiguity at all. We also investigate techniques to reduce or remove ambiguity from regular expressions, which can then be used to transform regular expressions which might be exploited by using algorithmic complexity, into harmless equivalent expressions.
More
Translated text
Key words
algorithmic complexity attack,ReDoS,regular expression,backtracking matcher,ambiguity
AI Read Science
Must-Reading Tree
Example
Generate MRT to find the research sequence of this paper
Chat Paper
Summary is being generated by the instructions you defined