PyPA Advisory Database
PYSEC-2024-167
Details
NLTK through 3.8.1 allows remote code execution if untrusted packages have pickled Python code, and the integrated data package download functionality is used. This affects, for example, averaged_perceptron_tagger and punkt.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | nltk | All versions before 3.9 (fixed in 3.9) |