Skip to content

setuptools-68.2.2-py3-none-any.whl: 2 vulnerabilities (highest severity is: 8.8) #28

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - setuptools-68.2.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl

Path to dependency file: /tmp/ws-scm/sca-cleanup-tool

Path to vulnerable library: /tmp/ws-scm/sca-cleanup-tool,/requirements.txt

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (setuptools version) Remediation Possible**
CVE-2025-47273 High 8.8 setuptools-68.2.2-py3-none-any.whl Direct 78.1.1
CVE-2024-6345 High 7.0 setuptools-68.2.2-py3-none-any.whl Direct 70.0.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-47273

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

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

Library home page: https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl

Path to dependency file: /tmp/ws-scm/sca-cleanup-tool

Path to vulnerable library: /tmp/ws-scm/sca-cleanup-tool,/requirements.txt

Dependency Hierarchy:

  • setuptools-68.2.2-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in "PackageIndex" is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-05-17

URL: CVE-2025-47273

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • 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: GHSA-5rjg-fvgr-3xxf

Release Date: 2025-05-17

Fix Resolution: 78.1.1

In order to enable automatic remediation, please create workflow rules

CVE-2024-6345

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

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

Library home page: https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl

Path to dependency file: /tmp/ws-scm/sca-cleanup-tool

Path to vulnerable library: /tmp/ws-scm/sca-cleanup-tool,/requirements.txt

Dependency Hierarchy:

  • setuptools-68.2.2-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

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: 70.0.0

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions