CVE-2024-6345
HIGH8.8EPSS 9.9%Remote Code Execution in pypa/setuptools
發布日:2024/7/15修改日:2026/4/28
描述
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.
受影響套件(4)
- Alpine/py3-setuptoolsfrom 0, < 70.3.0-r0
- Bitnami/setuptoolsfrom 0, < 70.0.0
- Debian/setuptoolsfrom 0, < 52.0.0-4+deb11u1
- PyPI/setuptoolsfrom 0, < 70.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-6345
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2024-6345
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-6345
- PATCHhttps://github.com/pypa/setuptools
- WEBhttps://github.com/advisories/GHSA-cx63-2mw6-8hw5
- WEBhttps://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0
- WEBhttps://github.com/pypa/setuptools/pull/4332
- WEBhttps://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5
- WEBhttps://lists.debian.org/debian-lts-announce/2024/09/msg00018.html