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

EcosystemPackageFixed inAdvisory
Debian:12nltk3.6.7-1DEBIAN-CVE-2021-3842
Debian:13nltk3.6.7-1DEBIAN-CVE-2021-3842
Debian:14nltk3.6.7-1DEBIAN-CVE-2021-3842
PyPInltk3.6.6GHSA-rqjh-jp2r-59cj
PyPInltk3.6.6PYSEC-2022-5

Affected products (as reported)

VendorProductVersions
nltk nltk/nltk unspecified – before 3.6.6

Weakness: CWE-1333 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References