PT-2024-5237 · Pypa+11 · Setuptools+11
Published
2024-07-14
·
Updated
2026-05-18
·
CVE-2024-6345
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions:
pypa/setuptools versions up to 69.1.1
Description:
A vulnerability in the package index module of pypa/setuptools 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.
Recommendations:
For pypa/setuptools versions up to 69.1.1, update to version 70.0 to resolve the issue.
As a temporary workaround, consider restricting the use of the download functions in the package index module to minimize the risk of exploitation.
Avoid using user-controlled inputs, such as package URLs, in the affected download functions until the issue is resolved.
Fix
RCE
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Ibm Aix
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Setuptools