synced 13 MIN AGO
01 Record

CVE-2024-6345

Remote Code Execution in pypa/setuptools

HighPUBLISHEDCNA: @huntr_ai
CNA base score8.8 CVSS v3.xCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

02 Description

Remote Code Execution in pypa/setuptools

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.93% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 79.9% of scored records. A rank, not a probability.
NVD base score
8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-07-15 00:00Z2 YR AGO
Last updated
2025-11-04 16:15Z11 MO AGO
Reserved
2024-06-26
Assigning CNA
@huntr_ai
Record state
PUBLISHED
Severity
High (CVSS 8.8)
CNA CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-94Improper Control of Generation of Code ('Code Injection')Base
Data version
5.2
Document digest
36e5bb015226b914874ee10ea0c152f149d348b2f220760122eae082784f4b08

05 Affected products

VendorProductVersionsPlatforms
pypapypa/setuptools< 70.0—
pythonsetuptools69.1.1 to < 70.0—

06 References

07 Fixed in

AlmaLinux 8

  • fence-agents-aliyun
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-all
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-amt-ws
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-apc
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-apc-snmp
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-aws
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-azure-arm
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-bladecenter
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-brocade
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-cisco-mds
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-cisco-ucs
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-common
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-compute
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-drac5
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-eaton-snmp
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-emerson
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-eps
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-gce
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-heuristics-ping
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-hpblade
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ibm-powervs
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ibm-vpc
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ibmblade
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ifmib
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo-moonshot
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo-mp
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo-ssh
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo2
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-intelmodular
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ipdu
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ipmilan
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-kdump
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-kubevirt
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-lpar
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-mpath
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-openstack
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-redfish
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-rhevm
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-rsa
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-rsb
    Fixed in 4.2.1-129.el8_10.4

67 further packages in AlmaLinux 8 not shown (first 40 listed).

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • fence-agents-aliyun
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-all
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-amt-ws
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-apc
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-apc-snmp
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-aws
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-azure-arm
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-bladecenter
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-brocade
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-cisco-mds
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-cisco-ucs
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-common
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-compute
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-drac5
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-eaton-snmp
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-emerson
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-eps
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-gce
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-heuristics-ping
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-hpblade
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ibm-powervs
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ibm-vpc
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ibmblade
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ifmib
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo-moonshot
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo-mp
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo-ssh
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo2
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-intelmodular
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ipdu
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ipmilan
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-kdump
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-kubevirt
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-lpar
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-mpath
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-openstack
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-redfish
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-rhevm
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-rsa
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-rsb
    Fixed in 4.10.0-62.el9_4.5

21 further packages in AlmaLinux 9 not shown (first 40 listed).

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • fence-agents-aliyun
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-all
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-amt-ws
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-apc
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-apc-snmp
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-aws
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-azure-arm
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-bladecenter
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-brocade
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-cisco-mds
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-cisco-ucs
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-common
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-compute
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-drac5
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-eaton-snmp
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-emerson
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-eps
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-gce
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-heuristics-ping
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-hpblade
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ibm-powervs
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ibm-vpc
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ibmblade
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ifmib
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo-moonshot
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo-mp
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo-ssh
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ilo2
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-intelmodular
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ipdu
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-ipmilan
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-kdump
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-kubevirt
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-lpar
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-mpath
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-openstack
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-redfish
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-rhevm
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-rsa
    Fixed in 4.2.1-129.el8_10.4
  • fence-agents-rsb
    Fixed in 4.2.1-129.el8_10.4

67 further packages in CloudLinux 8 not shown (first 40 listed).

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • fence-agents-aliyun
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-all
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-amt-ws
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-apc
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-apc-snmp
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-aws
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-azure-arm
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-bladecenter
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-brocade
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-cisco-mds
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-cisco-ucs
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-common
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-compute
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-drac5
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-eaton-snmp
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-emerson
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-eps
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-gce
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-heuristics-ping
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-hpblade
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ibm-powervs
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ibm-vpc
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ibmblade
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ifmib
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo-moonshot
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo-mp
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo-ssh
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ilo2
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-intelmodular
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ipdu
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-ipmilan
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-kdump
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-kubevirt
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-lpar
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-mpath
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-openstack
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-redfish
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-rhevm
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-rsa
    Fixed in 4.10.0-62.el9_4.5
  • fence-agents-rsb
    Fixed in 4.10.0-62.el9_4.5

21 further packages in CloudLinux 9 not shown (first 40 listed).

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • setuptools
    Fixed in 66.1.1-1+deb12u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • setuptools
    Fixed in 70.3.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • setuptools
    Fixed in 70.3.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • setuptools
    Fixed in 45.2.0-1ubuntu0.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • setuptools
    Fixed in 59.6.0-1.2ubuntu0.22.04.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • setuptools
    Fixed in 68.1.2-2ubuntu1.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • python-pip
    Fixed in 1.5.4-1ubuntu4+esm5
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • python-setuptools
    Fixed in 3.3-1ubuntu2+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • python-pip
    Fixed in 8.1.1-2ubuntu0.6+esm8
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • python-setuptools
    Fixed in 20.7.0-1ubuntu0.1~esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • python-pip
    Fixed in 9.0.1-2.3~ubuntu1.18.04.8+esm4
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • python-setuptools
    Fixed in 39.0.1-2ubuntu0.1+esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • python-pip
    Fixed in 20.0.2-5ubuntu1.10+esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • python-setuptools
    Fixed in 44.0.0-2ubuntu0.1+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • python-setuptools
    Fixed in 44.1.1-1.2ubuntu0.22.04.1+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.