VDB
Sign up
HIGH7.5

PYSEC-2019-106

Quick fix

PYSEC-2019-106 — nltk: upgrade to the fixed version with the command below.

pip install --upgrade 'nltk>=f59d7ed8df2e0e957f7f247fe218032abdbe9a10'

Details

NLTK Downloader before 3.4.5 is vulnerable to a directory traversal, allowing attackers to write arbitrary files via a ../ (dot dot slash) in an NLTK package (ZIP archive) that is mishandled during extraction.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References