VDB
Sign up
—

PYSEC-2024-167

Quick fix

PYSEC-2024-167 — nltk: upgrade to the fixed version with the command below.

pip install --upgrade 'nltk>=3.9'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/nltk
Introduced in: 0Fixed in: 3.9
Fixpip install --upgrade 'nltk>=3.9'

References