CVSS 3.0
8.8 highCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (8.8) in pypa pypa/setuptools. EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in setuptools 70.0.0.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hsetuptools (PyPI): fixed in 70.0.0Explain CVE-2024-6345 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-6345?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-6345?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-6345 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| pypa/setuptools | before 70.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-cx63-2mw6-8hw5 | PyPI | setuptools | <70.0.0 | 70.0.0 |
| PYSEC-2026-1918 | PyPI | setuptools | <70.0.0 | 70.0.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | setuptools | 52.0.0-4+deb11u1 | DLA-3876-1 |
| Debian | 12 | setuptools | 66.1.1-1+deb12u1 | DEBIAN-CVE-2024-6345 |
| Debian | 13, 14 | setuptools | 70.3.0-2 | DEBIAN-CVE-2024-6345 |
| Ubuntu | 20.04:LTS | setuptools | 45.2.0-1ubuntu0.2 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Ubuntu | 22.04:LTS | setuptools | 59.6.0-1.2ubuntu0.22.04.2 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Ubuntu | 24.04:LTS | setuptools | 68.1.2-2ubuntu1.1 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Ubuntu | Pro:14.04:LTS | python-pip | 1.5.4-1ubuntu4+esm5 | UBUNTU-CVE-2024-6345 |
| Ubuntu | Pro:14.04:LTS | python-setuptools | 3.3-1ubuntu2+esm2 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Ubuntu | Pro:16.04:LTS | python-pip | 8.1.1-2ubuntu0.6+esm8 | UBUNTU-CVE-2024-6345 |
| Ubuntu | Pro:16.04:LTS | python-setuptools | 20.7.0-1ubuntu0.1~esm2 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Ubuntu | Pro:18.04:LTS | python-pip | 9.0.1-2.3~ubuntu1.18.04.8+esm4 | UBUNTU-CVE-2024-6345 |
| Ubuntu | Pro:18.04:LTS | python-setuptools | 39.0.1-2ubuntu0.1+esm1 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Ubuntu | Pro:20.04:LTS | python-pip | 20.0.2-5ubuntu1.10+esm2 | UBUNTU-CVE-2024-6345 |
| Ubuntu | Pro:20.04:LTS | python-setuptools | 44.0.0-2ubuntu0.1+esm1 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Ubuntu | Pro:22.04:LTS | python-setuptools | 44.1.1-1.2ubuntu0.22.04.1+esm1 | UBUNTU-CVE-2024-6345 USN-7002-1 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python39-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | fence-agents, fence-agents-all, fence-agents-apc and 45 more | 0:4.2.1-129.el8_10.4 | RHSA-2024:6309 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python39-mod_wsgi | 0:4.7.1-7.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | numpy, python39-numpy, numpy-debugsource and 3 more | 0:1.19.4-3.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python39-PyMySQL | 0:0.10.1-2.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-cffi, python39-cffi, python-cffi-debugsource and 1 more | 0:1.14.3-2.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-chardet, python39-chardet | 0:3.0.4-19.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-cryptography, python39-cryptography, python-cryptography-debugsource and 1 more | 0:3.3.1-3.module+el8.10.0+21271+eccd1d86 | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-idna, python39-idna | 0:2.10-4.module+el8.10.0+21815+bb024982 | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-lxml, python39-lxml, python-lxml-debugsource and 1 more | 0:4.6.5-1.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-ply, python39-ply | 0:3.11-10.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| Red Hat | enterprise_linux:8::appstream | python-psutil, python39-psutil, python-psutil-debugsource and 1 more | 0:5.8.0-4.module+el8.9.0+19644+d68f775d | RHSA-2024:5962 |
| 141 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy, saltbundlepy-core | 3.11.9-1.26.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-cryptography | 3.3.2-1.18.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-docker | 7.0.0-1.8.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-idna | 3.4-1.9.2 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-passlib, saltbundlepy-passlib-test | 1.7.4-1.3.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-setuptools | 67.7.2-1.12.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-urllib3 | 2.0.7-1.12.1 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update | saltbundlepy-zipp | 3.15.0-1.9.2 | SUSE-SU-2024:4029-1 |
| SUSE | EL-9:Update:Products:SaltBundle:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLS | venv-salt-minion | 3006.0-1.47.1 | SUSE-SU-2024:4029-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | python-setuptools, python-setuptools-test, python-setuptools-wheel | 40.5.0-150100.6.9.1 | SUSE-SU-2024:2899-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | python39-setuptools | 44.1.1-150300.7.9.1 | SUSE-SU-2024:2906-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Micro 5.1, Linux Enterprise Micro 5.2 and 2 more | python-setuptools | 40.5.0-150100.6.9.1 | SUSE-SU-2024:2899-1 |
| 11 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.5 | python-setuptools | 67.7.2-150400.3.16.1 | SUSE-SU-2024:3055-1 |
| openSUSE | Leap 15.5, Leap 15.6 | python3-setuptools, python3-setuptools-test, python3-setuptools-wheel | 44.1.1-150400.9.9.1 | SUSE-SU-2024:3054-1 |
| openSUSE | Leap 15.5, Leap 15.6 | python310-setuptools | 67.6.1-150400.4.9.1 | SUSE-SU-2024:2907-1 |
| openSUSE | Leap 15.5, Leap 15.6 | python39-setuptools | 44.1.1-150300.7.9.1 | SUSE-SU-2024:2906-1 |
| openSUSE | Leap 15.6 | python-setuptools, python-setuptools-wheel | 67.7.2-150400.3.16.1 | SUSE-SU-2024:3055-1 |
| openSUSE | Leap 15.6 | python312-setuptools | 68.1.2-150600.3.3.1 | SUSE-SU-2024:2904-1 |
| openSUSE | Leap Micro 5.5 | python3-setuptools | 44.1.1-150400.9.9.1 | SUSE-SU-2024:3054-1 |
| openSUSE | Tumbleweed | python-setuptools | 72.1.0-1.1 | openSUSE-SU-2024:14294-1 |
| AlmaLinux | 8 | fence-agents-all, fence-agents-apc, fence-agents-aws and 44 more | 4.2.1-129.el8_10.4 | ALSA-2024:6309 |
| AlmaLinux | 8 | python3-setuptools, python3-setuptools-wheel, platform-python-setuptools | 39.2.0-8.el8_10 | ALSA-2024:5530 |
| AlmaLinux | 8 | python3.11-setuptools, python3.11-setuptools-wheel | 65.5.1-3.el8_10 | ALSA-2024:5532 |
| AlmaLinux | 8 | python3.12-setuptools, python3.12-setuptools-wheel | 68.2.2-4.el8_10 | ALSA-2024:5531 |
| AlmaLinux | 8 | python39, python39-idle, python39-libs and 5 more | 3.9.19-7.module_el8.10.0+3885+d986a391 | ALSA-2024:5962 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 | ALSA-2024:5962 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+3248+c431e88c | ALSA-2024:5962 |
| AlmaLinux | 8 | python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:5962 |
| AlmaLinux | 8 | python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:5962 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 | ALSA-2024:5962 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+3248+c431e88c | ALSA-2024:5962 |
| AlmaLinux | 8 | python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 | ALSA-2024:5962 |
| 38 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1582+bc278001 | RLSA-2024:5962 |
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1860+afcc1c71 | RLSA-2024:5962 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1582+bc278001 | RLSA-2024:5962 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1860+afcc1c71 | RLSA-2024:5962 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.9.0+1418+f0d66789 | RLSA-2024:5962 |
| Rocky Linux | 8 | fence-agents | 0:4.2.1-129.el8_10.4 | RLSA-2024:6309 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1582+bc278001 | RLSA-2024:5962 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1860+afcc1c71 | RLSA-2024:5962 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1582+bc278001 | RLSA-2024:5962 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1860+afcc1c71 | RLSA-2024:5962 |
| Rocky Linux | 8 | pybind11 | 0:2.7.1-1.module+el8.9.0+1357+a3b80af7 | RLSA-2024:5962 |
| Rocky Linux | 8 | pytest | 0:6.0.2-2.module+el8.10.0+1582+bc278001 | RLSA-2024:5962 |
| 39 more for Rocky Linux in the JSON. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
Red Hat OpenStack does not include setuptools. The ImcSdk component uses it only during compile time in our build systems, and we do not support recompiling SRPMs. As a result, Red Hat OpenStack is not affected by this flaw.
Python 2.7.18 was marked End of Life on 04/20/2020. No patches for Python 2 would be made available.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Developer Hub 1.2 on RHEL 9 | rhdh/rhdh-hub-rhel9:1.2-105 | Fixed 2024-06-24 | RHEA-2024:4071 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python3-setuptools-0:39.2.0-10.el7_9.1 | Fixed 2024-09-12 | RHSA-2024:6661 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | python-setuptools-0:0.9.8-7.el7_9.1 | Fixed 2024-09-13 | RHSA-2024:6662 |
| Red Hat Enterprise Linux 8 | python3.12-setuptools-0:68.2.2-4.el8_10 | Fixed 2024-08-19 | RHSA-2024:5531 |
| Red Hat Enterprise Linux 8 | python3.11-setuptools-0:65.5.1-3.el8_10 | Fixed 2024-08-19 | RHSA-2024:5532 |
| Red Hat Enterprise Linux 8 | python39:3.9-8100020240826142629.d47b87a4 | Fixed 2024-08-28 | RHSA-2024:5962 |
| Red Hat Enterprise Linux 8 | python39-devel:3.9-8100020240826142629.d47b87a4 | Fixed 2024-08-28 | RHSA-2024:5962 |
| Red Hat Enterprise Linux 8 | fence-agents-0:4.2.1-129.el8_10.4 | Fixed 2024-09-04 | RHSA-2024:6309 |
| Red Hat Enterprise Linux 8 | resource-agents-0:4.9.0-54.el8_10.4 | Fixed 2024-09-04 | RHSA-2024:6311 |
| Red Hat Enterprise Linux 8 | python-setuptools-0:39.2.0-8.el8_10 | Fixed 2024-08-19 | RHSA-2024:5530 |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch6-rhel8 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-curator5-rhel8 | Not affected | |
| Multiarch Tuning Operator | multiarch-tuning/multiarch-tuning-rhel9-operator | Affected | |
| Red Hat Ansible Automation Platform 2 | aap-cloud-metrics-collector-container | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-dellemc-openmanage-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-builder-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-cloud-services-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-supported-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Not affected | |
| 139 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-6345.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.