ALAS-2024-2641


Amazon Linux 2 Security Advisory: ALAS-2024-2641
Advisory Release Date: 2024-09-25 22:07 Pacific
Advisory Updated Date: 2024-10-02 14:30 Pacific
Severity: Important

Issue Overview:

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. (CVE-2024-6345)


Affected Packages:

python-setuptools


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update python-setuptools to update your system.

New Packages:
noarch:
    python3-setuptools-49.1.3-1.amzn2.0.5.noarch
    python-setuptools-wheel-49.1.3-1.amzn2.0.5.noarch

src:
    python-setuptools-49.1.3-1.amzn2.0.5.src