NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-39705: ntlk unsafe deserialization vulnerability

highCVSS 4.0 7.5 · 3.1 7.5GHSA-cgvx-9447-vcch

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, averagedperceptrontagger and punkt.

Published Jun 28, 2024 · Updated Jan 21, 2025

Affected packages

nltk

Ecosystem
PyPI
Affected
< 3.9
Fixed in
3.9
Check
pip show nltk

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to justinrosenthal, ekaf.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries