CVE-2024-6345
setuptools vulnerable to Command Injection via package URL
8.8
HIGH
CVSS 3.1
EPSS 7.5%
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.
How to fix CVE-2024-6345
To remediate CVE-2024-6345, upgrade the affected package to a fixed version below.
- —upgrade to 70.3.0-r0 or later
- —upgrade to 70.0.0 or later
- —upgrade to 52.0.0-4+deb11u1 or later
- —upgrade to 70.0.0 or later
Is CVE-2024-6345 being exploited?
Moderate — EPSS is 7.5%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (4)
- from 0, < 70.3.0-r0
- from 0, < 70.0.0
- from 0, < 52.0.0-4+deb11u1
- from 0, < 70.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |