CVE-2024-6345

HIGH

setuptools < 70.0.0 - Remote Code Execution via Package Index Download Functions

Title source: llm
STIX 2.1

Description

A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.

Scores

CVSS v3 8.8
EPSS 0.0194
EPSS Percentile 77.6%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-94
Status published
Products (2)
pypa/pypa/setuptools unspecified - 70.0
pypi/setuptools 0 - 70.0.0PyPI
Published Jul 15, 2024
Tracked Since Feb 18, 2026