Back
CVE-2024-6345
Remote Code Execution in pypa/setuptools
High8.8EPSS 1.9%
- Published
- Updated
- Reserved
- Assigned by
- @huntr_ai
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| @huntr_aiCNA (assigner) | 3.0 | High8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.0 | High8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
- affected unspecified – < 70.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIsetuptoolsGHSA-cx63-2mw6-8hw5 (opens in a new tab)
References (3)
- https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5 (opens in a new tab)x_transferred
- https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cx63-2mw6-8hw5 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-6345)Record last updated .