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 (Z
At a glance
- Source
- OSV
- Withdrawn
- Published
- Updated
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.
References
- https://github.com/nltk/nltk/commit/f59d7ed8df2e0e957f7f247fe218032abdbe9a10 WEB
- https://salvatoresecurity.com/zip-slip-in-nltk-cve-2019-14751/ WEB
- https://github.com/nltk/nltk/blob/3.4.5/ChangeLog WEB
- https://github.com/mssalvatore/CVE-2019-14751_PoC WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGZSSEJH7RHH3RBUEVWWYT75QU67J7SE/ WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QI4IJGLZQ5S7C5LNRNROHAO2P526XE3D/ WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00054.html WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00001.html WEB
Affected packages
| Package | Versions |
|---|---|
| PyPI · nltk | introduced 0, fixed f59d7ed8df2e0e957f7f247fe218032abdbe9a10 ; introduced 0, fixed 3.4.5 |
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |