CVE-2024-39705: nltk Deserialization of Untrusted Data
CVSS: 9.8v3.1CriticalDeferred
AliasesopenSUSE-SU-2024:0221-1openSUSE-SU-2024:0222-1GHSA-cgvx-9447-vcchPYSEC-2024-167UBUNTU-CVE-2024-39705DEBIAN-CVE-2024-39705CGA-2436-prqr-64g4CGA-24xq-4vwj-5hpvCGA-2fc2-h76g-j3rrCGA-2fch-mj22-6389CGA-4pmx-wwpf-pq6xCGA-4rrm-363c-g2h5CGA-5prf-39g8-rm3hCGA-8jj7-5m23-9qmjCGA-c859-hjj9-jq8rCGA-f27x-7qv4-x53gCGA-m57r-99rx-4jp3CGA-q4q2-8v49-w92pCGA-q868-3325-3vpwCGA-qm9p-hfpg-pcc5CGA-rh8r-vf9h-rrfxCGA-vmv8-3c29-2rfvCGA-f4c9-mmch-693mCGA-g29f-ppmf-4xfmCGA-gmh9-76rm-7vjj
Published 27-06-2024Last modified 15-09-2024
Vulnerability summary
CVE-2024-39705 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in nltk. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 71% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)EPSS score
1.35%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2 · Related 6Timeline
- 27-06-2024PublishedVulnerability first disclosed.
- 15-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versionsHigh 7.5Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NSourcesSingle source
Critical 9.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSources7 sources · 7.5–9.8
- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.35%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.35% on 20-09-2026
20-09-202620-10-2026
EPSS score1.35%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard10 products
- apache-beam-python-3.11-sdk< 2.58.1-r0
- nemo< 1.23.0-r12
- py3-nltk< 3.8.2-r0
- py3-supported-nltk< 3.8.2-r0
- py3.11-nltk< 3.8.2-r0
Wolfi8 products
- py3-nltk< 3.8.2-r0
- py3-supported-nltk< 3.8.2-r0
- py3.11-nltk< 3.8.2-r0
- py3.11-nltk-bin< 3.8.2-r0
- py3.12-nltk< 3.8.2-r0
Opensuse2 products
- python-nltk&distro=openSUSE Leap 15.5< 3.7-bp155.3.3.1
- python-nltk&distro=openSUSE Leap 15.6< 3.7-bp156.4.3.1
Suse2 products
- python-nltk&distro=SUSE Package Hub 15 SP5< 3.7-bp155.3.3.1
- python-nltk&distro=SUSE Package Hub 15 SP6< 3.7-bp156.4.3.1
Debian1 product
- nltkAll versions (No fix recorded) | < 3.9.1-1
PyPI1 product
- nltk< 3.9
Ubuntu1 product
- nltkAll versions (No fix recorded)
7 vendors · 25 products
References
16 links- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- github.com/nltk/nltkPACKAGE