CVE-2021-3842
7.5high
Inefficient Regular Expression Complexity in nltk/nltk
- Severity
- 7.5high CVSS:3.0 by @huntrdev
- Exploit likelihood
- 1.57% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntrdev
- Also known as
- GHSA-rqjh-jp2r-59cjPYSEC-2022-5
Description
nltk is vulnerable to Inefficient Regular Expression Complexity
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nltk nltk/nltk | from unspecified before 3.6.6 | CVE List |
| nltk (PyPI) | before 3.6.6, before 2a50a3edc9d35f57ae42a921c621edc160877f4d | GitHub Advisory Database, PyPA Advisory Database |
| nltk nltk | before 3.6.6 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
| fedoraproject fedora | 35 | NVD |
All scores
| @huntrdev | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
nltk is vulnerable to Inefficient Regular Expression Complexity
GitHub Advisory Database
NLTK is vulnerable to REDoS in some RegexpTaggers used in the functions get_pos_tagger and malt_regex_tagger.
NVD (es)
nltk es vulnerable a una Complejidad de Expresión Regular Ineficiente
References
| https://huntr.dev/bounties/761a761e-2be2-430a-8d92-6f74ffe9866a | exploit, issue-tracking, patch, third-party-advisory, web | |
| https://github.com/nltk/nltk/commit/2a50a3edc9d35f57ae42a921c621edc160877f4d | fix, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-3842 | advisory | |
| https://github.com/nltk/nltk/pull/2906 | web | |
| https://github.com/nltk/nltk | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2022-5.yaml | web | |
| https://github.com/advisories/GHSA-rqjh-jp2r-59cj | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3842 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rqjh-jp2r-59cj changed 2024-09-26 | CC-BY-4.0 |
| NVD | CVE-2021-3842 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-5 changed 2023-11-08 | CC-BY-4.0 |