CVE-2019-14751
Nltk vulnerability
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.
Affected products
Nltk. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nltk runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mssalvatore/CVE-2019-14751_PoC · Exploit
- github.com/nltk/nltk/commit/f59d7ed8df2e0e957f7f247fe218032abdbe9a10 · Patch
- salvatoresecurity.com/zip-slip-in-nltk-cve-2019-14751/ · Exploit
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00054.html
- lists.opensuse.org/opensuse-security-announce/2020-04/msg00001.html
- github.com/nltk/nltk/blob/3.4.5/ChangeLog
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z
- nvd.nist.gov/vuln/detail/CVE-2019-14751
- cve.org/CVERecord?id=CVE-2019-14751
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.