Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2024-6345: pypa/setuptools: Remote code execution via download functions in the package_index module in pypa/setuptools (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2024-6345: pypa/setuptools: Remote code execution via download functions in the package_index module in pypa/setuptools (Multiple Advisories)

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
07/15/2024
Created
08/08/2024
Added
08/07/2024
Modified
08/07/2024

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.

Solution(s)

  • redhat-upgrade-platform-python-setuptools
  • redhat-upgrade-python3-11-setuptools
  • redhat-upgrade-python3-11-setuptools-wheel
  • redhat-upgrade-python3-setuptools
  • redhat-upgrade-python3-setuptools-wheel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;