CVE-2024-39705
NLTK through 3.8.1 allows remote code execution if untrusted …
NLTK through 3.8.1 allows remote code execution if untrusted packages have pickled Python code, and the integrated data package download functionality is used. This affects, for example, averaged_perceptron_tagger and punkt.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software 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/nltk/nltk/issues/2522
- github.com/nltk/nltk/issues/3266
- www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706
- nvd.nist.gov/vuln/detail/CVE-2024-39705
- github.com/nltk/nltk/commit/441aecb7d33014bd08672232c6c8bb69c2ceaba2
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2024-167.yaml
- github.com/advisories/GHSA-cgvx-9447-vcch
- nvd.nist.gov/vuln/detail/CVE-2024-39705
- cve.org/CVERecord?id=CVE-2024-39705
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.