Package | python-setuptools |
---|---|
Version | 33.1.1-1+deb9u1 (stretch), 40.8.0-1+deb10u1 (buster) |
Related CVEs | CVE-2022-40897 CVE-2024-6345 CVE-2025-47273 |
Multiple vulnerabilities have been fixed in the Python setuptools package. setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages.
- CVE-2022-40897
-
Regular Expression Denial of Service (ReDoS) in package_index.py.
- CVE-2024-6345
-
A vulnerability in the package_index module 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.
- CVE-2025-47273
-
A path traversal vulnerability in
PackageIndex
. 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.
For Debian 10 buster, these problems have been fixed in version 40.8.0-1+deb10u1.
For Debian 9 stretch, these problems have been fixed in version 33.1.1-1+deb9u1.
We recommend that you upgrade your python-setuptools packages.
Further information about Extended LTS security advisories can be found in the dedicated section of our website.