NetSight
high8.8

CVE-2024-6345

setuptools vulnerable to Command Injection via package URL

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipsetuptools< 70.0.070.0.0

Affected products

ProductAffected versions
Pypa/Setuptools
before 69.1.1

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References