INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2021-3842

NLTK Vulnerable to REDoS

CVE-2021-3842 ยท 2022-01-06 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Denial of service
Affected
nltk (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% chance of exploitation in 30 days

How it works, in short

Regex taggers in NLTK can be driven into catastrophic backtracking by crafted input, stalling the process. (Our summary, written by a model. The source text is below.)

Details

NLTK is vulnerable to REDoS in some RegexpTaggers used in the functions get_pos_tagger and malt_regex_tagger.

References

Source: GitHub Advisory Database, used under CC BY 4.0.