Overview
| Artifact ID: | d34a08c2bde61e1807b5cdaf1faa768b5243f272 |
|---|---|
| Ticket: | 1810038fffffffffffffffffffffffffffffffff
DoS via infinite loop in regex NFA optimization |
| User & Date: | mmaslano on 2007-10-09 09:24:13 |
Changes
- assignee changed to: "pvgoran"
- cmimetype changed to: "text/plain"
- comment changed to:
Occure in version: 8.0 and higher, I try it also in devel version 8.5b1 and the problem is still here. Reproducer: TCL version: regexp '($|^X)*' 'foo' The problem is in regular expressions code, which results in a non-terminating infinite loop during nondeterministic finite automata optimization. These loops remain even after the client disconnects and can be used to hog CPU and connections to the database until a full-fledged denial of service condition occurs. I try to attach patch soon, but at the moment I've no idea, where in code is the problem.
- foundin changed to: "obsolete: 8.5b1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mmaslano"
- subsystem changed to: "43. Regexp"
- title changed to: "DoS via infinite loop in regex NFA optimization"
- type changed to: "Bug"