Ubuntu CVE Tracker
UBUNTU-CVE-2024-6345
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python-pip | All versions before 1.5.4-1ubuntu4+esm5 (fixed in 1.5.4-1ubuntu4+esm5) |
| Ubuntu:Pro:14.04:LTS | python-setuptools | All versions before 3.3-1ubuntu2+esm2 (fixed in 3.3-1ubuntu2+esm2) |
| Ubuntu:Pro:16.04:LTS | python-setuptools | All versions before 20.7.0-1ubuntu0.1~esm2 (fixed in 20.7.0-1ubuntu0.1~esm2) |
| Ubuntu:Pro:16.04:LTS | python-pip | All versions before 8.1.1-2ubuntu0.6+esm8 (fixed in 8.1.1-2ubuntu0.6+esm8) |
| Ubuntu:Pro:18.04:LTS | python-setuptools | All versions before 39.0.1-2ubuntu0.1+esm1 (fixed in 39.0.1-2ubuntu0.1+esm1) |
| Ubuntu:Pro:18.04:LTS | python-pip | All versions before 9.0.1-2.3~ubuntu1.18.04.8+esm4 (fixed in 9.0.1-2.3~ubuntu1.18.04.8+esm4) |
| Ubuntu:20.04:LTS | setuptools | All versions before 45.2.0-1ubuntu0.2 (fixed in 45.2.0-1ubuntu0.2) |
| Ubuntu:Pro:20.04:LTS | python-pip | All versions before 20.0.2-5ubuntu1.10+esm2 (fixed in 20.0.2-5ubuntu1.10+esm2) |
| Ubuntu:Pro:20.04:LTS | python-setuptools | All versions before 44.0.0-2ubuntu0.1+esm1 (fixed in 44.0.0-2ubuntu0.1+esm1) |
| Ubuntu:22.04:LTS | setuptools | All versions before 59.6.0-1.2ubuntu0.22.04.2 (fixed in 59.6.0-1.2ubuntu0.22.04.2) |
| Ubuntu:Pro:22.04:LTS | python-setuptools | All versions before 44.1.1-1.2ubuntu0.22.04.1+esm1 (fixed in 44.1.1-1.2ubuntu0.22.04.1+esm1) |
| Ubuntu:24.04:LTS | setuptools | All versions before 68.1.2-2ubuntu1.1 (fixed in 68.1.2-2ubuntu1.1) |