CVE-2024-6345

Remote Code Execution in pypa/setuptools

Published Jul 15, 2024 CVSS 3.1 · 8.8 High EPSS 1.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3876-1 setuptools security update
EUVD EUVD EUVD-2024-2330 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.
Github GHSA Github GHSA GHSA-cx63-2mw6-8hw5 setuptools vulnerable to Command Injection via package URL
Ubuntu USN Ubuntu USN USN-7002-1 Setuptools vulnerability
History
Type Values Removed Values Added
First Time appeared Python
Python setuptools
CPEs cpe:2.3:a:python:setuptools:69.1.1:*:*:*:*:*:*:*
Vendors & Products Python
Python setuptools
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00227}

epss

{'score': 0.00251}

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:8.4::highavailability
cpe:/a:redhat:rhel_e4s:8.6::highavailability
cpe:/a:redhat:rhel_eus:8.8::highavailability
cpe:/a:redhat:rhel_tus:8.4::highavailability
cpe:/a:redhat:rhel_tus:8.6::highavailability
Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:openshift:4.17::el9
Vendors & Products Redhat openshift
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8::resilientstorage
Type Values Removed Values Added
CPEs cpe:/a:redhat:service_interconnect:1::el9
Type Values Removed Values Added
First Time appeared Redhat service Interconnect
CPEs cpe:/a:redhat:service_interconnect:1.4::el9
Vendors & Products Redhat service Interconnect
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhel_aus:8.2
Type Values Removed Values Added
First Time appeared Redhat openshift Devspaces
Redhat rhel Els
CPEs cpe:/a:redhat:openshift_devspaces:3::el8
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat openshift Devspaces
Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.0
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4
cpe:/a:redhat:rhel_e4s:8.4
cpe:/a:redhat:rhel_tus:8.4
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8::highavailability
cpe:/a:redhat:enterprise_linux:8::resilientstorage
cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_eus:9.2
cpe:/a:redhat:rhel_tus:8.6
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_e4s:9.0
Vendors & Products Redhat enterprise Linux
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhel_eus:9.2
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhel_aus:8.4
cpe:/o:redhat:rhel_e4s:8.4
cpe:/o:redhat:rhel_tus:8.4
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus
CPEs cpe:/o:redhat:rhel_aus:8.6
cpe:/o:redhat:rhel_e4s:8.6
cpe:/o:redhat:rhel_tus:8.6
Vendors & Products Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus
Type Values Removed Values Added
First Time appeared Redhat
Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:8.8
cpe:/o:redhat:rhel_eus:8.8
Vendors & Products Redhat
Redhat rhel Eus