{"cve":"CVE-2024-6345","nvd":{"published":"2024-07-15T01:15:01.730","modified":"2026-06-17T08:17:49.463","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0","https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5","https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0","https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5","https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-6345","score":0.01939,"percentile":0.80114,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cx63-2mw6-8hw5","url":"https://osv.dev/vulnerability/GHSA-cx63-2mw6-8hw5","summary":"setuptools vulnerable to Command Injection via package URL","modified":"2026-09-10T03:50:16.663495061Z","packages":[{"ecosystem":"PyPI","name":"setuptools","purl":"pkg:pypi/setuptools","ranges":["<70.0.0"],"fixed":["70.0.0"]}]},{"id":"PYSEC-2026-1918","url":"https://osv.dev/vulnerability/PYSEC-2026-1918","summary":"setuptools vulnerable to Command Injection via package URL","modified":"2026-07-07T17:57:13.326243614Z","packages":[{"ecosystem":"PyPI","name":"setuptools","purl":"pkg:pypi/setuptools","ranges":["<70.0.0"],"fixed":["70.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}