Skip to content

ntlk unsafe deserialization vulnerability

High severity GitHub Reviewed Published Jun 28, 2024 to the GitHub Advisory Database • Updated Jun 28, 2024

Package

pip nltk (pip)

Affected versions

<= 3.8.1

Patched versions

None

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

Published by the National Vulnerability Database Jun 27, 2024
Published to the GitHub Advisory Database Jun 28, 2024
Reviewed Jun 28, 2024
Last updated Jun 28, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2024-39705

GHSA ID

GHSA-cgvx-9447-vcch

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.