First published: Thu Jun 27 2024(Updated: )
Natural Language Toolkit (NLTK) could allow a remote attacker to execute arbitrary code on the system, caused by a flaw when an untrusted packages have pickled Python code, and the integrated data package download functionality is used. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/nltk | <3.9 | 3.9 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-39705 is considered to have a high severity due to the potential for remote code execution.
To fix CVE-2024-39705, upgrade the Natural Language Toolkit (NLTK) to version 3.9 or later.
CVE-2024-39705 is caused by a vulnerability that allows untrusted packages containing pickled Python code to execute arbitrary code during the data package download process.
Users of NLTK versions prior to 3.9 are affected by CVE-2024-39705.
An attacker could exploit CVE-2024-39705 by sending a specially crafted request that triggers the execution of arbitrary code from untrusted pickled packages.