CVE-2025-47273 Details
Description
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.
A path traversal vulnerability has been identified in the 'PackageIndex' component of setuptools, affecting versions prior to 78.1.1. This vulnerability allows an attacker to write files to arbitrary locations on the filesystem, using the permissions of the process executing the Python code. Depending on the context, this could lead to remote code execution. The issue arises because 'PackageIndex' improperly sanitizes filenames derived from URLs, enabling exploitation by manipulating the URL path.
Users should upgrade to setuptools version 78.1.1 or later. For Debian 11 bullseye, this vulnerability has been fixed in version 52.0.0-4+deb11u2.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python setuptools | < 78.1.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2025 | Initial Analysis | [email protected] |
| May 28, 2025 | CVE Modified | CVE |
| May 19, 2025 | CVE Modified | CISA-ADP |
| May 17, 2025 | New CVE Received | [email protected] |