PT-2019-3241 · Nltk+2 · Nltk Downloader+2

Published

2019-08-20

·

Updated

2024-07-04

·

CVE-2019-14751

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions NLTK Downloader versions prior to 3.4.5
Description The issue is related to a directory traversal vulnerability, allowing attackers to write arbitrary files via a ../ (dot dot slash) in an NLTK package (ZIP archive) that is mishandled during extraction. This is due to the incorrect restriction of the directory path name with limited access in the unzip iter() function of the NLTK package loader. The exploitation of this issue may allow a remote attacker to record arbitrary files.
Recommendations For versions prior to 3.4.5, update to version 3.4.5 or later to resolve the issue. As a temporary workaround, consider restricting access to the unzip iter() function until a patch is available. Avoid using the ../ (dot dot slash) in NLTK package ZIP archives to minimize the risk of exploitation.

Exploit

Fix

Path traversal

Weakness Enumeration

Related Identifiers

BDU:2019-03231
CVE-2019-14751
GHSA-MR7P-25V2-35WR
MGASA-2020-0160
OPENSUSE-SU-2020:0436-1
OPENSUSE-SU-2020:0440-1
OPENSUSE-SU-2020_0436-1
OPENSUSE-SU-2022:10040-1
OPENSUSE-SU-2024:11241-1
OPENSUSE-SU-2024:14103-1
PYSEC-2019-106
PYSEC-2019-36
USN-4106-1

Affected Products

Nltk Downloader
Suse
Ubuntu