CVE-2019-14751: NLTK Vulnerable To Path Traversal
(updated )
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
- 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/nltk/nltk/commit/f59d7ed8df2e0e957f7f247fe218032abdbe9a10
- 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
- nvd.nist.gov/vuln/detail/CVE-2019-14751
- salvatoresecurity.com/zip-slip-in-nltk-cve-2019-14751
Code Behaviors & Features
Detect and mitigate CVE-2019-14751 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →