Advisory

PYSEC-2024-167

Also known as: CVE-2024-39705, GHSA-cgvx-9447-vcch

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2024-06-27 22:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

nltk

PyPI · All systems

Affected

  • introduced 0, fixed 3.9 (ecosystem)

Fixed versions

3.9

Fix

  • Fixed version 3.9
    pip install --upgrade nltk==3.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences