Bug 1771375 (CVE-2019-14751)

Summary: CVE-2019-14751 python-nltk: directory traversal vulnerability allows attackers to write arbitrary files via ../
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: michel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: NLTK 3.4.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-12 12:51:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1771376, 1771377    
Bug Blocks:    

Description Dhananjay Arunesh 2019-11-12 09:22:15 UTC
A vulnerability was found in 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.


Reference:
https://github.com/mssalvatore/CVE-2019-14751_PoC
https://github.com/nltk/nltk/blob/3.4.5/ChangeLog
https://github.com/nltk/nltk/commit/f59d7ed8df2e0e957f7f247fe218032abdbe9a10
https://salvatoresecurity.com/zip-slip-in-nltk-cve-2019-14751/

Comment 1 Dhananjay Arunesh 2019-11-12 09:22:37 UTC
Created python-nltk tracking bugs for this issue:

Affects: epel-6 [bug 1771377]
Affects: fedora-all [bug 1771376]

Comment 2 Product Security DevOps Team 2019-11-12 12:51:14 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.