CVE-2024-6345

high

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.

References

https://huntr.com/bounties/d6362117-ad57-4e83-951f-b8141c6e7ca5

https://github.com/pypa/setuptools/commit/88807c7062788254f654ea8c03427adc859321f0

Details

Source: Mitre, NVD

Published: 2024-07-15

Updated: 2024-07-15

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High