openEuler Security Advisory
OESA-2024-1931
python-setuptools security update
Details
Setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
Security Fix(es):
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.(CVE-2024-6345)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP4 | python-setuptools | All versions before 44.1.1-3.oe2003sp4 (fixed in 44.1.1-3.oe2003sp4) |
| openEuler:22.03-LTS-SP1 | python-setuptools | All versions before 59.4.0-6.oe2203sp1 (fixed in 59.4.0-6.oe2203sp1) |
| openEuler:22.03-LTS-SP3 | python-setuptools | All versions before 59.4.0-6.oe2203sp3 (fixed in 59.4.0-6.oe2203sp3) |
| openEuler:22.03-LTS-SP4 | python-setuptools | All versions before 59.4.0-6.oe2203sp4 (fixed in 59.4.0-6.oe2203sp4) |
| openEuler:24.03-LTS | python-setuptools | All versions before 68.0.0-2.oe2403 (fixed in 68.0.0-2.oe2403) |