GitHub Advisoryadvisory · PyPI
GHSA-rqjh-jp2r-59cj NLTK Vulnerable to REDoS
HIGH
Official page ↗
- Aliases
- CVE-2021-3842
- Ecosystem
- PyPI
- Packages
- nltk
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2022-01-06
Affected packages
• PyPI nltk: < 3.6.6 → fixed in 3.6.6
Description
NLTK is vulnerable to REDoS in some RegexpTaggers used in the functions `get_pos_tagger` and `malt_regex_tagger`.
Related
Alias · CVE (1)
- CVE-2021-3842 nltk is vulnerable to Inefficient Regular Expression Complexity vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3842 advisory
- https://github.com/nltk/nltk/pull/2906 web
- https://github.com/nltk/nltk/commit/2a50a3edc9d35f57ae42a921c621edc160877f4d web
- https://github.com/nltk/nltk package
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2022-5.yaml web
- https://huntr.dev/bounties/761a761e-2be2-430a-8d92-6f74ffe9866a web