NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in nltk 3.10.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. From 3.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nltk | >=3.9.4 <3.10.4 | ||
| pypi: nltk | >=3.9.4 <3.10.4, >=3.9.4 <=3.10.3 | 3.10.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