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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2024-39705 - Critical Severity Vulnerability
Vulnerable Library - nltk-3.8.1-py3-none-any.whl
Natural Language Toolkit
Library home page: https://files.pythonhosted.org/packages/a6/0a/0d20d2c0f16be91b9fa32a77b76c60f9baf6eba419e5ef5deca17af9c582/nltk-3.8.1-py3-none-any.whl
Path to dependency file: /src/project/ai-rag-llm/ollama-repo-changes/requirements.txt
Path to vulnerable library: /src/project/ai-rag-llm/ollama-repo-changes/requirements.txt
Dependency Hierarchy: - :x: **nltk-3.8.1-py3-none-any.whl** (Vulnerable Library)
Found in HEAD commit: 217e500bc06d22ca1d37fd868bde94ae03887410
Found in base branch: main
Vulnerability 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.
Publish Date: 2024-06-27
URL: CVE-2024-39705
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-39705
Release Date: 2024-06-27
Fix Resolution: nltk - 3.8,3.3.0
Step up your Open Source Security Game with Mend here