Vulnerability · Published Jun 27, 2024 · Assigned by mitre
CVE-2024-39705
Critical 9.8
In plain English
A critical-severity unsafe deserialization in the nltk package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.3%top 28.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nltk | no fix listed | DEBIAN-CVE-2024-39705 |
| Debian:13 | nltk | 3.9.1-1 | DEBIAN-CVE-2024-39705 |
| Debian:14 | nltk | 3.9.1-1 | DEBIAN-CVE-2024-39705 |
| PyPI | nltk | 3.9 | PYSEC-2024-167 |
| PyPI | nltk | 3.9 | GHSA-cgvx-9447-vcch |
| Ubuntu:22.04:LTS | nltk | no fix listed | UBUNTU-CVE-2024-39705 |
| Ubuntu:24.04:LTS | nltk | no fix listed | UBUNTU-CVE-2024-39705 |
Affected products (as reported)
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H