Ubuntu CVE Tracker
UBUNTU-CVE-2025-47273
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python-pip | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python-setuptools | All versions before 3.3-1ubuntu2+esm3 (fixed in 3.3-1ubuntu2+esm3) |
| Ubuntu:Pro:16.04:LTS | python-setuptools | All versions before 20.7.0-1ubuntu0.1~esm3 (fixed in 20.7.0-1ubuntu0.1~esm3) |
| Ubuntu:Pro:16.04:LTS | python-pip | All versions before 8.1.1-2ubuntu0.6+esm12 (fixed in 8.1.1-2ubuntu0.6+esm12) |
| Ubuntu:Pro:18.04:LTS | python-setuptools | All versions before 39.0.1-2ubuntu0.1+esm2 (fixed in 39.0.1-2ubuntu0.1+esm2) |
| Ubuntu:Pro:18.04:LTS | python-pip | All versions before 9.0.1-2.3~ubuntu1.18.04.8+esm8 (fixed in 9.0.1-2.3~ubuntu1.18.04.8+esm8) |
| Ubuntu:20.04:LTS | setuptools | All versions before 45.2.0-1ubuntu0.3 (fixed in 45.2.0-1ubuntu0.3) |
| Ubuntu:22.04:LTS | setuptools | All versions before 59.6.0-1.2ubuntu0.22.04.3 (fixed in 59.6.0-1.2ubuntu0.22.04.3) |
| Ubuntu:Pro:22.04:LTS | python-setuptools | All versions before 44.1.1-1.2ubuntu0.22.04.1+esm2 (fixed in 44.1.1-1.2ubuntu0.22.04.1+esm2) |
| Ubuntu:24.04:LTS | setuptools | All versions before 68.1.2-2ubuntu1.2 (fixed in 68.1.2-2ubuntu1.2) |
References
- https://ubuntu.com/security/CVE-2025-47273
- https://www.cve.org/CVERecord?id=CVE-2025-47273
- https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxf
- https://github.com/pypa/setuptools/issues/4946
- https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88
- https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0b
- https://ubuntu.com/security/notices/USN-7544-1
- https://ubuntu.com/security/notices/USN-8010-1