Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2019-14751 EUVD-2019-0091GHSA-mr7p-25v2-35wrPYSEC-2019-106

NLTK Vulnerable To Path Traversal

Published Aug 22, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nltk 3.4.5-1 —
Debian 13 nltk 3.4.5-1 —
Debian 12 nltk 3.4.5-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS nltk 3.2.5-1ubuntu0.1 USN-4106-1
Ubuntu 16.04 LTS nltk 3.1-1ubuntu0.1 USN-4106-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS nltk 2.0~b9-0ubuntu4.1~esm2 —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 python-nltk 3.7-bp152.3.3.1 openSUSE-SU-2022:10040-1
SUSE Package Hub 15 SP1 python-nltk 3.4.5-bp151.4.3.1 openSUSE-SU-2020:0440-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-nltk 3.5-1.10 openSUSE-SU-2026:11469-1, openSUSE-SU-2024:14103-1, openSUSE-SU-2024:11241-1
openSUSE Leap 15.1 python-nltk 3.4.5-lp151.4.3.1 openSUSE-SU-2020:0436-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nltk < 3.4.5 3.4.5 GHSA-mr7p-25v2-35wr

Advisories 7

References