2 matches found
NLTK: Compile-time Regex DoS In NLTK Search/tokenizer Sinks: Quadratic Regex-engine Compile Bypasses The Match-only Time
Summary NLTK exposes a compile-time regular-expression denial of service in its regex-search helpers. When an application passes untrusted text as the search pattern to "TokenSearcher.findall" / "Text.findall", or as the tokenizer pattern to "RegexpTokenizer", the pattern is handed to the...
GHSA-32P6-CWHC-8R78 NLTK: Compile-time regex DoS in NLTK search/tokenizer sinks: quadratic regex-engine compile bypasses the match-only timeout
Summary NLTK exposes a compile-time regular-expression denial of service in its regex-search helpers. When an application passes untrusted text as the search pattern to TokenSearcher.findall / Text.findall, or as the tokenizer pattern to RegexpTokenizer, the pattern is handed to the third-party...