VDB

CVE-2024-6345

CVE-2024-6345 PUBLISHED CVSS 8.8 HIGH

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.

PackageEcosystemFixed in
setuptoolsPyPI70.0.0
py3-torchvision-cuda-11.8Chainguard0.18.1-r3
py3.11-pytorch-cuda-12.3Chainguard2.3.1-r6
request-1276Chainguard0.23.0-r0
py3.11-torchvision-cuda-12.3Chainguard0.18.1-r5
py3-pipenvChainguard2024.4.1-r0
py3.10-pytorch-cuda-12.3Chainguard2.3.1-r2
airflowChainguard2.9.3-r1
py3.12-pytorch-cuda-12.3Chainguard2.3.1-r1
nvidia-nsight-compute-13.1Chainguard2025.4.1.2-r1
nemoChainguard1.23.0-r12
py3.11-torchvision-cuda-11.8Chainguard0.18.1-r3

36 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.0
8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
pypapypa/setuptoolsunspecified
chainguardpy3-torchvision-cuda-11.80
chainguardpy3.11-pytorch-cuda-12.30
chainguardrequest-12760
chainguardpy3.11-torchvision-cuda-12.30
chainguardpy3-pipenv0
chainguardpy3.10-pytorch-cuda-12.30
chainguardairflow0
chainguardpy3.12-pytorch-cuda-12.30
chainguardnvidia-nsight-compute-13.10
chainguardnemo0
pypapypa/setuptools*
chainguardpy3.11-torchvision-cuda-11.80
wolfisuperset0
wolfiairflow0
alpinepy3-setuptools0
pypasetuptools
chainguardpy3.12-torchvision-cuda-12.30
amazon:2python-setuptools-wheel0
chainguardaz0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›