CVE-2024-39705
NLTK through 3.8.1 allows remote code execution if untrusted packages ...
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-502
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | nltk | <3.9 | 3.9 |
Open a package to see all its vulnerabilities.
Operating systems · 11 fixes
chainguard 1 release · 3 packages
fixed 3
nemo
apache-beam-python-3-11-sdk
py3-nltk
| Release | Package | Fixed in |
|---|---|---|
| nemo | 1.23.0-r12 | |
| apache-beam-python-3-11-sdk | 2.58.1-r0 | |
| py3-nltk | 3.8.2-r0 |
debian 4 releases · 1 package
affected 2
fixed 2
nltk
| Release | Package | Fixed in |
|---|---|---|
| 11 | nltk | affected |
| 12 | nltk | affected |
| 13 | nltk | 3.9.1-1 |
| 14 | nltk | 3.9.1-1 |
echo 1 release · 1 package
fixed 1
nltk
| Release | Package | Fixed in |
|---|---|---|
| nltk | 3.9.1-1 |
openSUSE 1 release · 2 packages
fixed 2
python313-nltk
python310-nltk
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python313-nltk +1 | 3.10.1-1.1 | openSUSE-SU-2026:11469-1 |
| Tumbleweed | python310-nltk +2 | 3.8.1-2.1 | openSUSE-SU-2024:14103-1 |
wolfi 1 release · 1 package
fixed 1
py3-nltk
| Release | Package | Fixed in |
|---|---|---|
| py3-nltk | 3.8.2-r0 |
References
- github.com https://github.com/nltk/nltk
- github.com https://github.com/nltk/nltk/commit/441aecb7d33014bd08672232c6c8bb69c2ceaba2
- github.com https://github.com/nltk/nltk/issues/2522
- github.com https://github.com/nltk/nltk/issues/3266
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2024-167.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-39705
- www.vicarius.io https://www.vicarius.io/vsociety/posts/rce-in-python-nltk-cve-2024-39705-39706
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.