NLTK: Downloader cyclic collection indices cause an infinite closure walk
nltk
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nltk nltk |
| No fix yet |
Original description
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.6.7 until 3.10.4, nltk.downloader follows collection membership without tracking already visited collection nodes. A self-referencing or mutually referencing collection index can therefore make the package-closure walk loop indefinitely while its queue and memory usage grow, denying service when a victim processes the attacker-influenced index. This issue is fixed in version 3.10.4.
From the CVE record · GitHub_M