ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-6345

pypa/setuptools: Remote code execution via download functions in the package_index module in pypa/setuptools

Important No fix available CVE-2024-6345

Details

A flaw was found in the package_index module of pypa/setuptools. Affected versions of this package allow 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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6python-setuptools
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python2-setuptools
All versions, will not be fixed
Red Hat:enterprise_linux:8python2-setuptools-wheel
All versions, will not be fixed
Red Hat:enterprise_linux:9bootc-image-builder
All versions, no fix yet
Red Hat:enterprise_linux:9rhel-bootc
All versions, no fix yet

References