High severity · published Jul 15, 2024
CVE-2024-6345
Remote Code Execution in pypa/setuptools
8.8
CVSS
1.9%
EPSS
No
On KEV
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 vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
pypa/setuptools · pypa
before 70.0 · source: vendor
SE
Setuptools · Python
69.1.1 before 70.0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-6345
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-6345
github.com
https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0
huntr.com
https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/09/msg00018.html
