Path traversal in Natural Language Toolkit - CVE-2019-14751
Published: September 2, 2019
Vulnerability details
The vulnerability allows a remote attacker to write arbitrary files on the target system.
The vulnerability exists due to the affected software does not properly handle ZIP archives during extraction. A remote attacker can by extract a ZIP archive that contains malicious traversal characters and write arbitrary files via a ../ (dot dot slash) on the system.
Affected software
nltk (Ubuntu package)
python-nltk
SUSE Linux
Opensuse
Fedora
How to mitigate CVE-2019-14751
nltk (Ubuntu package) - addressed in versions 3.1-1ubuntu0.1, 3.2.5-1ubuntu0.1, 3.4-1ubuntu0.1
python-nltk - addressed in versions 3.4.5-2.fc31, 3.4.5-2.fc32