CVE-2024-6345
Remote Code Execution in pypa/setuptools
Reported by @huntr_ai · Published July 15, 2024
setuptools is fixed in 70.0.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| setuptools | PyPI | 70.0.0 |
| py3-torchvision-cuda-11.8 | Chainguard | 0.18.1-r3 |
| py3.11-pytorch-cuda-12.3 | Chainguard | 2.3.1-r6 |
| request-1276 | Chainguard | 0.23.0-r0 |
| py3.11-torchvision-cuda-12.3 | Chainguard | 0.18.1-r5 |
| py3-pipenv | Chainguard | 2024.4.1-r0 |
| py3.10-pytorch-cuda-12.3 | Chainguard | 2.3.1-r2 |
| airflow | Chainguard | 2.9.3-r1 |
| py3.12-pytorch-cuda-12.3 | Chainguard | 2.3.1-r1 |
| nvidia-nsight-compute-13.1 | Chainguard | 2025.4.1.2-r1 |
| nemo | Chainguard | 1.23.0-r12 |
| py3.11-torchvision-cuda-11.8 | Chainguard | 0.18.1-r3 |
36 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pypa | pypa/setuptools | unspecified |
| chainguard | py3-torchvision-cuda-11.8 | 0 |
| chainguard | py3.11-pytorch-cuda-12.3 | 0 |
| chainguard | request-1276 | 0 |
| chainguard | py3.11-torchvision-cuda-12.3 | 0 |
| chainguard | py3-pipenv | 0 |
| chainguard | py3.10-pytorch-cuda-12.3 | 0 |
| chainguard | airflow | 0 |
| chainguard | py3.12-pytorch-cuda-12.3 | 0 |
| chainguard | nvidia-nsight-compute-13.1 | 0 |
| chainguard | nemo | 0 |
| pypa | pypa/setuptools | * |
| chainguard | py3.11-torchvision-cuda-11.8 | 0 |
| wolfi | superset | 0 |
| wolfi | airflow | 0 |
| alpine | py3-setuptools | 0 |
| pypa | setuptools | |
| chainguard | py3.12-torchvision-cuda-12.3 | 0 |
| amazon:2 | python-setuptools-wheel | 0 |
| chainguard | az | 0 |
…and 29 more
Timeline
- Jul 15, 2024 CVE Published
- Jul 15, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (18 in total, the first dated here)
- Mar 10, 2026 Security Advisory (90 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (84 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-6345
vulnetix vdb fixes CVE-2024-6345
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6345/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart