Description (CNA)
NLTK versions before 3.10.0 contain a regular expression denial of service vulnerability in Text.findall() and TokenSearcher.findall() methods that accept user-supplied regular expressions without validation or timeout. Attackers can supply crafted regex patterns that cause catastrophic backtracking, resulting in indefinite CPU saturation and denial of service to all users of the Python process.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| nltk / nltk | affected 0 before 3.10.0; unaffected 3.10.0 |
CWE
CWE-1333
References
- https://github.com/nltk/nltk/security/advisories/GHSA-rrv8-h7p8-rx55
- https://www.vulncheck.com/advisories/nltk-before-3.10.0-redos-via-text-findall-unvalidated-regex
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.