CVE-2024-6345
Remote Code Execution in pypa/setuptools
- State
- Published
- Severity
- 8.8 High
- Published
- Jul 15, 2024
- Updated
- Nov 4, 2025
- Reserved
- Jun 26, 2024
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 8.8 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | @huntr_ai |
Weaknesses
- CWE-94 Improper Control of Generation of Code
Affected Products
| Product | Versions |
|---|---|
pypa/setuptoolspypa |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.