NLTK is vulnerable to REDoS in some RegexpTaggers used in the functions get_pos_tagger
and malt_regex_tagger
.
- https://nvd.nist.gov/vuln/detail/CVE-2021-3842
- https://github.com/nltk/nltk/commit/2a50a3edc9d35f57ae42a921c621edc160877f4d
- https://huntr.dev/bounties/761a761e-2be2-430a-8d92-6f74ffe9866a
- https://github.com/nltk/nltk/pull/2906
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2022-5.yaml
- https://github.com/advisories/GHSA-rqjh-jp2r-59cj