CVE-2024-39705

critical

Description

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

https://www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706

https://github.com/nltk/nltk/issues/3266

https://github.com/nltk/nltk/issues/2522

Details

Source: Mitre, NVD

Published: 2024-06-27

Updated: 2024-09-15

Risk Information

CVSS v2

Base Score: 7.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical