MISFIRE

Browse / Unsafe Model Loading and Supply Chain / CVE-2024-39705

ntlk unsafe deserialization vulnerability

CVE-2024-39705 ยท 2024-06-28 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the source)
Technique
Unsafe deserialisation
Affected
nltk (PyPI)
CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.3% chance of exploitation in 30 days

How it works, in short

Data packages fetched by the NLTK downloader contain pickled Python objects that execute attacker code when loaded from untrusted sources. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.