CVE-2024-6345

Public on 2024-07-15
Modified on 2024-10-03
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.
Severity
Important severity
Important
CVSS v3 Base Score
8.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 python-setuptools No Fix Planned
Amazon Linux 2 - Core python-setuptools 2024-09-25 ALAS2-2024-2641 Fixed
Amazon Linux 2023 python-setuptools 2024-08-01 ALAS2023-2024-676 Fixed
Amazon Linux 2 - Core python2-setuptools 2024-09-12 ALAS2-2024-2632 Fixed
Amazon Linux 2023 python3.11-setuptools 2024-10-24 ALAS2023-2024-740 Fixed
Amazon Linux 2 - Python3.8 Extra python38-setuptools 2024-09-26 ALAS2PYTHON3.8-2024-012 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD CVSSv3 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H