NLTKGHSA-mr7p-25v2-35wr
NLTK Vulnerable To Path Traversal
High7.5CVE-2019-14751 · Published Aug 23, 2019 · updated Oct 7, 2024
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| nltk PyPI | < 3.4.5 | 3.4.5 |
Details and references
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.
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-22
- Also known as
- CVE-2019-14751, PYSEC-2019-106
- nvd.nist.gov/vuln/detail/CVE-2019-14751
- github.com/nltk/nltk/commit/f59d7ed8df2e0e957f7f247fe218032abdbe9a10
- github.com/advisories/GHSA-mr7p-25v2-35wr
- github.com/mssalvatore/CVE-2019-14751_PoC
- github.com/nltk/nltk
- github.com/nltk/nltk/blob/3.4.5/ChangeLog
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2019-106.yaml
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QI4IJGLZQ5S7C5LNRNROHAO2P526XE3D
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGZSSEJH7RHH3RBUEVWWYT75QU67J7SE
- salvatoresecurity.com/zip-slip-in-nltk-cve-2019-14751
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00054.html
- lists.opensuse.org/opensuse-security-announce/2020-04/msg00001.html
More NLTK advisories
All NLTK| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Sep 292021 | NLTK Vulnerable to REDoS CVE-2021-3828High7.5fixed in 3.6.4 | High7.5 | 3.6.4 |
| Jan 62022 | Inefficient Regular Expression Complexity in nltk (word_tokenize, sent_tokenize) CVE-2021-43854High7.5fixed in 3.6.6 | High7.5 | 3.6.6 |
| Jan 62022 | NLTK Vulnerable to REDoS CVE-2021-3842High7.5fixed in 3.6.6 | High7.5 | 3.6.6 |
| Jun 282024 | ntlk unsafe deserialization vulnerability CVE-2024-39705High7.5fixed in 3.9 | High7.5 | 3.9 |
| Feb 18 | NLTK has a Zip Slip Vulnerability CVE-2025-14009Critical10.0fixed in 3.9.3 | Critical10.0 | 3.9.3 |
| Mar 4 | NLTK has a Path Traversal issue CVE-2026-0847High8.6no fix yet | High8.6 | No fix yet |