kirancodes.me
To Proof Maintenance & Beyond!

The impact of regular expression denial of service (ReDoS) in practice: an empirical study at the ecosystem scale

James C. Davis, Christy A. Coghlan, Francisco Servant, Dongyoon Lee

Abstract

Regular expressions (regexes) are a popular and powerful means of automatically manipulating text. Regexes are also an understudied denial of service vector (ReDoS). If a regex has super-linear worst-case complexity, an attacker may be able to trigger this complexity, exhausting the victim’s CPU resources and causing denial of service. Existing research has shown how to detect these superlinear regexes, and practitioners have identified super-linear regex anti-pattern heuristics that may lead to such complexity.

BibTeX
@inproceedings{Davis-al:FSE18,
  author    = {James C. Davis and
               Christy A. Coghlan and
               Francisco Servant and
               Dongyoon Lee},
  title     = {The impact of regular expression denial of service {(ReDoS)} in practice: an empirical study at the ecosystem scale},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {246--256},
  publisher = {{ACM}},
  year      = {2018},
}

Related papers