Vulnerability · Published Jan 4, 2022 · Assigned by @huntrdev
CVE-2021-3842Inefficient Regular Expression Complexity in nltk/nltk
High 7.5
In plain English
A high-severity regular-expression denial of service in nltk/nltk from nltk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.5High
Exploit odds (30 days)1.6%top 24.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
nltk is vulnerable to Inefficient Regular Expression Complexity
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nltk | 3.6.7-1 | DEBIAN-CVE-2021-3842 |
| Debian:13 | nltk | 3.6.7-1 | DEBIAN-CVE-2021-3842 |
| Debian:14 | nltk | 3.6.7-1 | DEBIAN-CVE-2021-3842 |
| PyPI | nltk | 3.6.6 | GHSA-rqjh-jp2r-59cj |
| PyPI | nltk | 3.6.6 | PYSEC-2022-5 |
Affected products (as reported)
Weakness: CWE-1333 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://huntr.dev/bounties/761a761e-2be2-430a-8d92-6f74ffe9866a x_refsource_CONFIRM
- https://github.com/nltk/nltk/commit/2a50a3edc9d35f57ae42a921c621edc160877f4d x_refsource_MISC