ManageIQ / manageiq-rpm_build

Code to build RPMs for ManageIQ appliances and container images
Apache License 2.0
10 stars 25 forks source link

CVE-2024-6345 (High) detected in setuptools-68.0.0-py3-none-any.whl - autoclosed #477

Closed mend-bolt-for-github[bot] closed 3 weeks ago

mend-bolt-for-github[bot] commented 4 months ago

CVE-2024-6345 - High Severity Vulnerability

Vulnerable Library - setuptools-68.0.0-py3-none-any.whl

Easily download, build, install, upgrade, and uninstall Python packages

Library home page: https://files.pythonhosted.org/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl

Path to dependency file: /config/requirements.txt

Path to vulnerable library: /config/requirements.txt

Dependency Hierarchy: - :x: **setuptools-68.0.0-py3-none-any.whl** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2024-07-15

URL: CVE-2024-6345

CVSS 3 Score Details (7.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-6345

Release Date: 2024-07-15

Fix Resolution: setuptools - 70.0.0


Step up your Open Source Security Game with Mend here

kbrock commented 2 months ago

This python package is a dependency of ansible-core. It is installed by the following rpms:

kbrock commented 2 months ago

I notice that there is a more recent version in dnf. Think rebuild should bring this up to date.

========================================================================
 Package                    Architecture Version       Repository Size
========================================================================
Upgrading:
 python3-setuptools         noarch       53.0.0-13.el9 baseos      943 k
mend-bolt-for-github[bot] commented 3 weeks ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.