CVE-2024-6345
ADVISORY - githubSummary
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.
Common Weakness Enumeration (CWE)
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection')
GitHub
2.8
CVSS SCORE
7.5highPackage | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
---|---|---|---|---|---|
setuptools | pypi | - | - | <70.0.0 | 70.0.0 |
CVSS:4 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
Attack Vector (AV)
Network
Attack Vector (AV)
Network
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
Attack Complexity (AC)
Low
Attack Complexity (AC)
Low
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
Attack Requirements (AT)
Present
Attack Requirements (AT)
Present
The successful attack depends on the presence of specific deployment and execution conditions of the vulnerable system that enable the attack. These include: A race condition must be won to successfully exploit the vulnerability. The successfulness of the attack is conditioned on execution conditions that are not under full control of the attacker. The attack may need to be launched multiple times against a single target before being successful. Network injection. The attacker must inject themselves into the logical network path between the target and the resource requested by the victim (e.g. vulnerabilities requiring an on-path attacker).
Privileges Required (PR)
None
Privileges Required (PR)
None
The attacker is unauthenticated prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
User Interaction (UI)
Active
User Interaction (UI)
Active
Successful exploitation of this vulnerability requires a targeted user to perform specific, conscious interactions with the vulnerable system and the attacker's payload, or the user's interactions would actively subvert protection mechanisms which would lead to exploitation of the vulnerability. Examples include: importing a file into a vulnerable system in a specific manner placing files into a specific directory prior to executing code submitting a specific string into a web application (e.g. reflected or self XSS) dismiss or accept prompts or security warnings prior to taking an action (e.g. opening/editing a file, connecting a device).
Confidentiality Impact to the Vulnerable System (VC)
High
Confidentiality Impact to the Vulnerable System (VC)
High
There is a total loss of confidentiality, resulting in all information within the Vulnerable System being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.
Confidentiality Impact to the Subsequent System (SC)
None
Confidentiality Impact to the Subsequent System (SC)
None
There is no loss of confidentiality within the Subsequent System or all confidentiality impact is constrained to the Vulnerable System.
Integrity Impact to the Vulnerable System (VI)
High
Integrity Impact to the Vulnerable System (VI)
High
There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the Vulnerable System. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the Vulnerable System.
Integrity Impact to the Subsequent System (SI)
None
Integrity Impact to the Subsequent System (SI)
None
There is no loss of integrity within the Subsequent System or all integrity impact is constrained to the Vulnerable System.
Vulnerable System Availability Impact (VA)
High
Vulnerable System Availability Impact (VA)
High
There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the Vulnerable System; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the Vulnerable System (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).
Subsequent System Availability Impact (SA)
None
Subsequent System Availability Impact (SA)
None
There is no impact to availability within the Subsequent System or all availability impact is constrained to the Vulnerable System.
NIST
2.8
CVSS SCORE
8.8highAlpine
-
Debian
-
Ubuntu
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AhighAlma
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AmediumAlma
-
CVSS SCORE
N/AhighAmazon
-
CVSS SCORE
N/AhighAmazon
-
CVSS SCORE
N/AhighAmazon
-
CVSS SCORE
N/AhighAmazon
-
CVSS SCORE
N/AhighBitnami
BIT-setuptools-2024-6345
2.8
CVSS SCORE
8.8highRed Hat
2.8
CVSS SCORE
8.8highRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighRocky
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AmediumOracle
-
CVSS SCORE
N/AmediumOracle
-
CVSS SCORE
N/AmediumOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighOracle
-
CVSS SCORE
N/AhighChainguard
CGA-279w-w6pp-mjw6
-
Chainguard
CGA-374g-f8mr-whvm
-
Chainguard
CGA-47w3-wfg8-56wr
-
Chainguard
CGA-4j9r-79j7-hxh9
-
Chainguard
CGA-4mw5-xqpj-q4mq
-
Chainguard
CGA-5j79-5g3g-jm38
-
Chainguard
CGA-6593-4q8p-chrg
-
Chainguard
CGA-7459-pg82-vm6j
-
Chainguard
CGA-c5cf-23gj-ccmf
-
Chainguard
CGA-c79m-39cv-2j6g
-
Chainguard
CGA-c7q2-88vr-25f8
-
Chainguard
CGA-f2p4-hwhx-72xc
-
Chainguard
CGA-fcf7-4j9r-w6pf
-
Chainguard
CGA-g9jj-r4g7-867c
-
Chainguard
CGA-h2w5-6w87-gr4v
-
Chainguard
CGA-h655-78w4-797j
-
Chainguard
CGA-p377-vw6x-c695
-
Chainguard
CGA-qmjx-gwcv-4p8x
-
Chainguard
CGA-rjmx-vqfq-f7rh
-
Chainguard
CGA-wf6c-8hp6-46fv
-
Chainguard
CGA-wvx6-p8cc-2629
-
Chainguard
CGA-x22r-fp37-7vh6
-
Chainguard
CGA-xrq9-4hfh-g5jh
-