NLTK has a Downloader Path Traversal Vulnerability (AFO) - Arbitrary File Overwrite
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in nltk 3.9.4.
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. In versions 3.9.3 and prior, the NLTK downloader does not validate the `subdir` and `id` attributes when processing remote XML index files. Attackers can control a remote XML index server to provide malicious values containing path traversal sequences (such as `../`), which can lead to arbitrary directory creation, arbitrary file creation, and arbitrary file overwrite. Commit 89fe2ec2c6bae6e2e7a46dad65cc34231976ed8a patches the issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nltk | <=3.9.3 | ||
| pypi: nltk | <3.9.4 | 3.9.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in nltk (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket