Logo
componentpython3-setuptools
Name
python3-setuptools
Version
59.5.0
Type
library
Description
Download, build, install, upgrade, and uninstall Python packages
Licenses
MIT
PURL
-
CPE
cpe:2.3:*:python:setuptools:59.5.0:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
82.0.1
scarthgap
69.1.1

Patches#


#
Title
Author
Resolve
1
Add a check to ensure the name resolves relative to the
"Jason R. Coombs" <jaraco@jaraco.com>
CVE-2025-47273
2
_distutils/sysconfig: append
Tim Orling <timothy.t.orling@intel.com>
3
change shebang to python3
Changqing Li <changqing.li@windriver.com>
4
Extract _resolve_download_filename with test.
"Jason R. Coombs" <jaraco@jaraco.com>
CVE-2025-47273
5
Limit the amount of whitespace to search/backtrack. Fixes
Narpat Mali <narpat.mali@windriver.com>
CVE-2022-40897
6
Merge pull request #4332 from pypa/debt/package-index-vcs
Jason R. Coombs <jaraco@jaraco.com>
CVE-2024-6345

Vulnerabilities#


Name
Analysis
Description
Patched
setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in `PackageIndex` is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.
Patched
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.
Patched
Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.