Advisory

GHSA-mr7p-25v2-35wr

Also known as: CVE-2019-14751, PYSEC-2019-106

Summary

NLTK Vulnerable To Path Traversal

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-08-23 21:53 UTC
Modified
2024-10-07 15:12 UTC

Affected packages and fixes

nltk

PyPI · All systems

Affected

  • introduced 0, fixed 3.4.5 (ecosystem)

Fixed versions

3.4.5

Fix

  • Fixed version 3.4.5
    pip install --upgrade nltk==3.4.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences