CVE search · CVE-2025-47273
CVE-2025-47273
high 7.7
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.
Details
- Status
- Analyzed
- Published
- Last changed
- Source
- security-advisories@github.com
- Weakness
- CWE-22
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 4.0 | high 7.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
security-advisories@github.comSecondary |
| CVSS 3.1 | high 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
nvd@nist.govPrimary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
References
- https://github.com/pypa/setuptools/blob/6ead555c5fb29bc57fe6105b1bffc163f56fd558/setuptools/package_index.py#L810C1-L825C88Product
- https://github.com/pypa/setuptools/commit/250a6d17978f9f6ac3ac887091f2d32886fbbb0bPatch
- https://github.com/pypa/setuptools/issues/4946ExploitIssue Tracking
- https://github.com/pypa/setuptools/security/advisories/GHSA-5rjg-fvgr-3xxfExploitVendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00035.htmlMailing List
- https://github.com/pypa/setuptools/issues/4946ExploitIssue Tracking